sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1625, base_ring=CyclotomicField(300))
M = H._module
chi = DirichletCharacter(H, M([96,25]))
gp:[g,chi] = znchar(Mod(171, 1625))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1625.171");
| Modulus: | \(1625\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1625\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(300\) |
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_{1625}(6,\cdot)\)
\(\chi_{1625}(11,\cdot)\)
\(\chi_{1625}(41,\cdot)\)
\(\chi_{1625}(46,\cdot)\)
\(\chi_{1625}(71,\cdot)\)
\(\chi_{1625}(106,\cdot)\)
\(\chi_{1625}(111,\cdot)\)
\(\chi_{1625}(136,\cdot)\)
\(\chi_{1625}(141,\cdot)\)
\(\chi_{1625}(171,\cdot)\)
\(\chi_{1625}(206,\cdot)\)
\(\chi_{1625}(236,\cdot)\)
\(\chi_{1625}(241,\cdot)\)
\(\chi_{1625}(266,\cdot)\)
\(\chi_{1625}(271,\cdot)\)
\(\chi_{1625}(306,\cdot)\)
\(\chi_{1625}(331,\cdot)\)
\(\chi_{1625}(336,\cdot)\)
\(\chi_{1625}(366,\cdot)\)
\(\chi_{1625}(371,\cdot)\)
\(\chi_{1625}(396,\cdot)\)
\(\chi_{1625}(431,\cdot)\)
\(\chi_{1625}(436,\cdot)\)
\(\chi_{1625}(461,\cdot)\)
\(\chi_{1625}(466,\cdot)\)
\(\chi_{1625}(496,\cdot)\)
\(\chi_{1625}(531,\cdot)\)
\(\chi_{1625}(561,\cdot)\)
\(\chi_{1625}(566,\cdot)\)
\(\chi_{1625}(591,\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_{300})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 300 polynomial (not computed) |
sage:chi.fixed_field()
|
\((1002,626)\) → \((e\left(\frac{8}{25}\right),e\left(\frac{1}{12}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(7\) | \(8\) | \(9\) | \(11\) | \(12\) | \(14\) |
| \( \chi_{ 1625 }(171, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{121}{300}\right)\) | \(e\left(\frac{43}{75}\right)\) | \(e\left(\frac{121}{150}\right)\) | \(e\left(\frac{293}{300}\right)\) | \(e\left(\frac{7}{60}\right)\) | \(e\left(\frac{21}{100}\right)\) | \(e\left(\frac{11}{75}\right)\) | \(e\left(\frac{271}{300}\right)\) | \(e\left(\frac{19}{50}\right)\) | \(e\left(\frac{13}{25}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)