sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2977, base_ring=CyclotomicField(228))
M = H._module
chi = DirichletCharacter(H, M([95,85]))
gp:[g,chi] = znchar(Mod(1241, 2977))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("2977.1241");
| Modulus: | \(2977\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(2977\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(228\) |
sage:chi.multiplicative_order()
gp:charorder(g,chi)
magma:Order(chi);
|
| Real: | no |
sage:chi.multiplicative_order() <= 2
gp:charorder(g,chi) <= 2
magma:Order(chi) le 2;
|
| Primitive: | yes |
sage:chi.is_primitive()
gp:#znconreyconductor(g,chi)==1
magma:IsPrimitive(chi);
|
| Minimal: | yes |
| Parity: | even |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{2977}(6,\cdot)\)
\(\chi_{2977}(28,\cdot)\)
\(\chi_{2977}(98,\cdot)\)
\(\chi_{2977}(162,\cdot)\)
\(\chi_{2977}(279,\cdot)\)
\(\chi_{2977}(288,\cdot)\)
\(\chi_{2977}(319,\cdot)\)
\(\chi_{2977}(331,\cdot)\)
\(\chi_{2977}(345,\cdot)\)
\(\chi_{2977}(379,\cdot)\)
\(\chi_{2977}(384,\cdot)\)
\(\chi_{2977}(423,\cdot)\)
\(\chi_{2977}(427,\cdot)\)
\(\chi_{2977}(487,\cdot)\)
\(\chi_{2977}(496,\cdot)\)
\(\chi_{2977}(505,\cdot)\)
\(\chi_{2977}(535,\cdot)\)
\(\chi_{2977}(570,\cdot)\)
\(\chi_{2977}(752,\cdot)\)
\(\chi_{2977}(756,\cdot)\)
\(\chi_{2977}(760,\cdot)\)
\(\chi_{2977}(955,\cdot)\)
\(\chi_{2977}(982,\cdot)\)
\(\chi_{2977}(1003,\cdot)\)
\(\chi_{2977}(1008,\cdot)\)
\(\chi_{2977}(1155,\cdot)\)
\(\chi_{2977}(1185,\cdot)\)
\(\chi_{2977}(1241,\cdot)\)
\(\chi_{2977}(1250,\cdot)\)
\(\chi_{2977}(1302,\cdot)\)
...
sage:chi.galois_orbit()
gp:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
magma:order := Order(chi);
{ chi^k : k in [1..order-1] | GCD(k,order) eq 1 };
\((1146,235)\) → \((e\left(\frac{5}{12}\right),e\left(\frac{85}{228}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 2977 }(1241, a) \) |
\(1\) | \(1\) | \(e\left(\frac{14}{57}\right)\) | \(e\left(\frac{4}{19}\right)\) | \(e\left(\frac{28}{57}\right)\) | \(e\left(\frac{65}{228}\right)\) | \(e\left(\frac{26}{57}\right)\) | \(e\left(\frac{9}{19}\right)\) | \(e\left(\frac{14}{19}\right)\) | \(e\left(\frac{8}{19}\right)\) | \(e\left(\frac{121}{228}\right)\) | \(e\left(\frac{71}{228}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)