magma://Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1860.161");
S:= CuspForms(chi, 2);
N := Newforms(S);
sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1860, base_ring=CyclotomicField(6))
chi = DirichletCharacter(H, H._module([0, 3, 0, 5]))
N = Newforms(chi, 2, names="a")
This newform subspace can be constructed as the kernel of the linear operator
\( T_{7}^{40} - 6 T_{7}^{39} + 97 T_{7}^{38} - 430 T_{7}^{37} + 4746 T_{7}^{36} - 18204 T_{7}^{35} + \cdots + 20259536896 \)
acting on \(S_{2}^{\mathrm{new}}(1860, [\chi])\).