sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5000, base_ring=CyclotomicField(250))
M = H._module
chi = DirichletCharacter(H, M([125,125,112]))
gp:[g,chi] = znchar(Mod(1091, 5000))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("5000.1091");
| Modulus: | \(5000\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(5000\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(250\) |
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: | odd |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{5000}(11,\cdot)\)
\(\chi_{5000}(91,\cdot)\)
\(\chi_{5000}(131,\cdot)\)
\(\chi_{5000}(171,\cdot)\)
\(\chi_{5000}(211,\cdot)\)
\(\chi_{5000}(291,\cdot)\)
\(\chi_{5000}(331,\cdot)\)
\(\chi_{5000}(371,\cdot)\)
\(\chi_{5000}(411,\cdot)\)
\(\chi_{5000}(491,\cdot)\)
\(\chi_{5000}(531,\cdot)\)
\(\chi_{5000}(571,\cdot)\)
\(\chi_{5000}(611,\cdot)\)
\(\chi_{5000}(691,\cdot)\)
\(\chi_{5000}(731,\cdot)\)
\(\chi_{5000}(771,\cdot)\)
\(\chi_{5000}(811,\cdot)\)
\(\chi_{5000}(891,\cdot)\)
\(\chi_{5000}(931,\cdot)\)
\(\chi_{5000}(971,\cdot)\)
\(\chi_{5000}(1011,\cdot)\)
\(\chi_{5000}(1091,\cdot)\)
\(\chi_{5000}(1131,\cdot)\)
\(\chi_{5000}(1171,\cdot)\)
\(\chi_{5000}(1211,\cdot)\)
\(\chi_{5000}(1291,\cdot)\)
\(\chi_{5000}(1331,\cdot)\)
\(\chi_{5000}(1371,\cdot)\)
\(\chi_{5000}(1411,\cdot)\)
\(\chi_{5000}(1491,\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 };
\((3751,2501,4377)\) → \((-1,-1,e\left(\frac{56}{125}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 5000 }(1091, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{117}{125}\right)\) | \(e\left(\frac{39}{50}\right)\) | \(e\left(\frac{109}{125}\right)\) | \(e\left(\frac{31}{125}\right)\) | \(e\left(\frac{193}{250}\right)\) | \(e\left(\frac{63}{125}\right)\) | \(e\left(\frac{33}{125}\right)\) | \(e\left(\frac{179}{250}\right)\) | \(e\left(\frac{147}{250}\right)\) | \(e\left(\frac{101}{125}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)