sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4027, base_ring=CyclotomicField(4026))
M = H._module
chi = DirichletCharacter(H, M([2188]))
gp:[g,chi] = znchar(Mod(89, 4027))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4027.89");
| 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: | \(2013\) |
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}(6,\cdot)\)
\(\chi_{4027}(9,\cdot)\)
\(\chi_{4027}(10,\cdot)\)
\(\chi_{4027}(17,\cdot)\)
\(\chi_{4027}(19,\cdot)\)
\(\chi_{4027}(21,\cdot)\)
\(\chi_{4027}(22,\cdot)\)
\(\chi_{4027}(24,\cdot)\)
\(\chi_{4027}(25,\cdot)\)
\(\chi_{4027}(29,\cdot)\)
\(\chi_{4027}(35,\cdot)\)
\(\chi_{4027}(36,\cdot)\)
\(\chi_{4027}(40,\cdot)\)
\(\chi_{4027}(46,\cdot)\)
\(\chi_{4027}(53,\cdot)\)
\(\chi_{4027}(55,\cdot)\)
\(\chi_{4027}(62,\cdot)\)
\(\chi_{4027}(71,\cdot)\)
\(\chi_{4027}(74,\cdot)\)
\(\chi_{4027}(76,\cdot)\)
\(\chi_{4027}(77,\cdot)\)
\(\chi_{4027}(78,\cdot)\)
\(\chi_{4027}(79,\cdot)\)
\(\chi_{4027}(81,\cdot)\)
\(\chi_{4027}(83,\cdot)\)
\(\chi_{4027}(84,\cdot)\)
\(\chi_{4027}(88,\cdot)\)
\(\chi_{4027}(89,\cdot)\)
\(\chi_{4027}(90,\cdot)\)
\(\chi_{4027}(96,\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{1094}{2013}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4027 }(89, a) \) |
\(1\) | \(1\) | \(e\left(\frac{537}{671}\right)\) | \(e\left(\frac{1094}{2013}\right)\) | \(e\left(\frac{403}{671}\right)\) | \(e\left(\frac{1093}{2013}\right)\) | \(e\left(\frac{692}{2013}\right)\) | \(e\left(\frac{439}{671}\right)\) | \(e\left(\frac{269}{671}\right)\) | \(e\left(\frac{175}{2013}\right)\) | \(e\left(\frac{691}{2013}\right)\) | \(e\left(\frac{1885}{2013}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)