sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(8000, base_ring=CyclotomicField(400))
M = H._module
chi = DirichletCharacter(H, M([200,175,168]))
gp:[g,chi] = znchar(Mod(979, 8000))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("8000.979");
| Modulus: | \(8000\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(8000\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(400\) |
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_{8000}(19,\cdot)\)
\(\chi_{8000}(59,\cdot)\)
\(\chi_{8000}(139,\cdot)\)
\(\chi_{8000}(179,\cdot)\)
\(\chi_{8000}(219,\cdot)\)
\(\chi_{8000}(259,\cdot)\)
\(\chi_{8000}(339,\cdot)\)
\(\chi_{8000}(379,\cdot)\)
\(\chi_{8000}(419,\cdot)\)
\(\chi_{8000}(459,\cdot)\)
\(\chi_{8000}(539,\cdot)\)
\(\chi_{8000}(579,\cdot)\)
\(\chi_{8000}(619,\cdot)\)
\(\chi_{8000}(659,\cdot)\)
\(\chi_{8000}(739,\cdot)\)
\(\chi_{8000}(779,\cdot)\)
\(\chi_{8000}(819,\cdot)\)
\(\chi_{8000}(859,\cdot)\)
\(\chi_{8000}(939,\cdot)\)
\(\chi_{8000}(979,\cdot)\)
\(\chi_{8000}(1019,\cdot)\)
\(\chi_{8000}(1059,\cdot)\)
\(\chi_{8000}(1139,\cdot)\)
\(\chi_{8000}(1179,\cdot)\)
\(\chi_{8000}(1219,\cdot)\)
\(\chi_{8000}(1259,\cdot)\)
\(\chi_{8000}(1339,\cdot)\)
\(\chi_{8000}(1379,\cdot)\)
\(\chi_{8000}(1419,\cdot)\)
\(\chi_{8000}(1459,\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 };
| Field of values: |
$\Q(\zeta_{400})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 400 polynomial (not computed) |
sage:chi.fixed_field()
|
\((2751,2501,5377)\) → \((-1,e\left(\frac{7}{16}\right),e\left(\frac{21}{50}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 8000 }(979, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{301}{400}\right)\) | \(e\left(\frac{23}{40}\right)\) | \(e\left(\frac{101}{200}\right)\) | \(e\left(\frac{243}{400}\right)\) | \(e\left(\frac{377}{400}\right)\) | \(e\left(\frac{91}{100}\right)\) | \(e\left(\frac{49}{400}\right)\) | \(e\left(\frac{131}{400}\right)\) | \(e\left(\frac{129}{200}\right)\) | \(e\left(\frac{103}{400}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)