sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1344, base_ring=CyclotomicField(2))
chi = DirichletCharacter(H, H._module([1, 0, 0, 1]))
N = Newforms(chi, 4, names="a")
magma://Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1344.895");
S:= CuspForms(chi, 4);
N := Newforms(S);
This newform subspace can be constructed as the intersection of the kernels of the following linear operators acting on \(S_{4}^{\mathrm{new}}(1344, [\chi])\):