sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4027, base_ring=CyclotomicField(366))
M = H._module
chi = DirichletCharacter(H, M([58]))
gp:[g,chi] = znchar(Mod(248, 4027))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4027.248");
| Modulus: | \(4027\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4027\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(183\) |
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_{4027}(41,\cdot)\)
\(\chi_{4027}(68,\cdot)\)
\(\chi_{4027}(102,\cdot)\)
\(\chi_{4027}(140,\cdot)\)
\(\chi_{4027}(155,\cdot)\)
\(\chi_{4027}(218,\cdot)\)
\(\chi_{4027}(248,\cdot)\)
\(\chi_{4027}(308,\cdot)\)
\(\chi_{4027}(315,\cdot)\)
\(\chi_{4027}(334,\cdot)\)
\(\chi_{4027}(336,\cdot)\)
\(\chi_{4027}(341,\cdot)\)
\(\chi_{4027}(397,\cdot)\)
\(\chi_{4027}(398,\cdot)\)
\(\chi_{4027}(406,\cdot)\)
\(\chi_{4027}(489,\cdot)\)
\(\chi_{4027}(501,\cdot)\)
\(\chi_{4027}(504,\cdot)\)
\(\chi_{4027}(508,\cdot)\)
\(\chi_{4027}(529,\cdot)\)
\(\chi_{4027}(533,\cdot)\)
\(\chi_{4027}(547,\cdot)\)
\(\chi_{4027}(556,\cdot)\)
\(\chi_{4027}(558,\cdot)\)
\(\chi_{4027}(597,\cdot)\)
\(\chi_{4027}(599,\cdot)\)
\(\chi_{4027}(609,\cdot)\)
\(\chi_{4027}(693,\cdot)\)
\(\chi_{4027}(807,\cdot)\)
\(\chi_{4027}(837,\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 };
\(3\) → \(e\left(\frac{29}{183}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4027 }(248, a) \) |
\(1\) | \(1\) | \(e\left(\frac{26}{61}\right)\) | \(e\left(\frac{29}{183}\right)\) | \(e\left(\frac{52}{61}\right)\) | \(e\left(\frac{82}{183}\right)\) | \(e\left(\frac{107}{183}\right)\) | \(e\left(\frac{35}{61}\right)\) | \(e\left(\frac{17}{61}\right)\) | \(e\left(\frac{58}{183}\right)\) | \(e\left(\frac{160}{183}\right)\) | \(e\left(\frac{13}{183}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)