sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4999, base_ring=CyclotomicField(4998))
M = H._module
chi = DirichletCharacter(H, M([4264]))
gp:[g,chi] = znchar(Mod(78, 4999))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4999.78");
| Modulus: | \(4999\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4999\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2499\) |
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_{4999}(9,\cdot)\)
\(\chi_{4999}(17,\cdot)\)
\(\chi_{4999}(18,\cdot)\)
\(\chi_{4999}(19,\cdot)\)
\(\chi_{4999}(21,\cdot)\)
\(\chi_{4999}(33,\cdot)\)
\(\chi_{4999}(37,\cdot)\)
\(\chi_{4999}(38,\cdot)\)
\(\chi_{4999}(39,\cdot)\)
\(\chi_{4999}(42,\cdot)\)
\(\chi_{4999}(45,\cdot)\)
\(\chi_{4999}(49,\cdot)\)
\(\chi_{4999}(53,\cdot)\)
\(\chi_{4999}(59,\cdot)\)
\(\chi_{4999}(66,\cdot)\)
\(\chi_{4999}(67,\cdot)\)
\(\chi_{4999}(68,\cdot)\)
\(\chi_{4999}(69,\cdot)\)
\(\chi_{4999}(72,\cdot)\)
\(\chi_{4999}(73,\cdot)\)
\(\chi_{4999}(77,\cdot)\)
\(\chi_{4999}(78,\cdot)\)
\(\chi_{4999}(81,\cdot)\)
\(\chi_{4999}(85,\cdot)\)
\(\chi_{4999}(90,\cdot)\)
\(\chi_{4999}(91,\cdot)\)
\(\chi_{4999}(93,\cdot)\)
\(\chi_{4999}(95,\cdot)\)
\(\chi_{4999}(98,\cdot)\)
\(\chi_{4999}(105,\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{2132}{2499}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4999 }(78, a) \) |
\(1\) | \(1\) | \(e\left(\frac{181}{357}\right)\) | \(e\left(\frac{2132}{2499}\right)\) | \(e\left(\frac{5}{357}\right)\) | \(e\left(\frac{44}{119}\right)\) | \(e\left(\frac{300}{833}\right)\) | \(e\left(\frac{2090}{2499}\right)\) | \(e\left(\frac{62}{119}\right)\) | \(e\left(\frac{1765}{2499}\right)\) | \(e\left(\frac{313}{357}\right)\) | \(e\left(\frac{257}{357}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)