sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4987, base_ring=CyclotomicField(4986))
M = H._module
chi = DirichletCharacter(H, M([4582]))
gp:[g,chi] = znchar(Mod(73, 4987))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4987.73");
| Modulus: | \(4987\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4987\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2493\) |
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_{4987}(4,\cdot)\)
\(\chi_{4987}(7,\cdot)\)
\(\chi_{4987}(9,\cdot)\)
\(\chi_{4987}(10,\cdot)\)
\(\chi_{4987}(16,\cdot)\)
\(\chi_{4987}(22,\cdot)\)
\(\chi_{4987}(25,\cdot)\)
\(\chi_{4987}(26,\cdot)\)
\(\chi_{4987}(28,\cdot)\)
\(\chi_{4987}(34,\cdot)\)
\(\chi_{4987}(38,\cdot)\)
\(\chi_{4987}(40,\cdot)\)
\(\chi_{4987}(42,\cdot)\)
\(\chi_{4987}(43,\cdot)\)
\(\chi_{4987}(47,\cdot)\)
\(\chi_{4987}(49,\cdot)\)
\(\chi_{4987}(51,\cdot)\)
\(\chi_{4987}(54,\cdot)\)
\(\chi_{4987}(55,\cdot)\)
\(\chi_{4987}(57,\cdot)\)
\(\chi_{4987}(60,\cdot)\)
\(\chi_{4987}(61,\cdot)\)
\(\chi_{4987}(65,\cdot)\)
\(\chi_{4987}(70,\cdot)\)
\(\chi_{4987}(71,\cdot)\)
\(\chi_{4987}(73,\cdot)\)
\(\chi_{4987}(81,\cdot)\)
\(\chi_{4987}(82,\cdot)\)
\(\chi_{4987}(85,\cdot)\)
\(\chi_{4987}(88,\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 };
\(2\) → \(e\left(\frac{2291}{2493}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4987 }(73, a) \) |
\(1\) | \(1\) | \(e\left(\frac{2291}{2493}\right)\) | \(e\left(\frac{52}{2493}\right)\) | \(e\left(\frac{2089}{2493}\right)\) | \(e\left(\frac{656}{2493}\right)\) | \(e\left(\frac{781}{831}\right)\) | \(e\left(\frac{2353}{2493}\right)\) | \(e\left(\frac{629}{831}\right)\) | \(e\left(\frac{104}{2493}\right)\) | \(e\left(\frac{454}{2493}\right)\) | \(e\left(\frac{2354}{2493}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)