sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1063, base_ring=CyclotomicField(1062))
M = H._module
chi = DirichletCharacter(H, M([709]))
gp:[g,chi] = znchar(Mod(31, 1063))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1063.31");
| Modulus: | \(1063\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1063\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1062\) |
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_{1063}(3,\cdot)\)
\(\chi_{1063}(6,\cdot)\)
\(\chi_{1063}(10,\cdot)\)
\(\chi_{1063}(20,\cdot)\)
\(\chi_{1063}(21,\cdot)\)
\(\chi_{1063}(24,\cdot)\)
\(\chi_{1063}(29,\cdot)\)
\(\chi_{1063}(31,\cdot)\)
\(\chi_{1063}(33,\cdot)\)
\(\chi_{1063}(35,\cdot)\)
\(\chi_{1063}(39,\cdot)\)
\(\chi_{1063}(45,\cdot)\)
\(\chi_{1063}(48,\cdot)\)
\(\chi_{1063}(51,\cdot)\)
\(\chi_{1063}(53,\cdot)\)
\(\chi_{1063}(54,\cdot)\)
\(\chi_{1063}(55,\cdot)\)
\(\chi_{1063}(58,\cdot)\)
\(\chi_{1063}(61,\cdot)\)
\(\chi_{1063}(62,\cdot)\)
\(\chi_{1063}(69,\cdot)\)
\(\chi_{1063}(70,\cdot)\)
\(\chi_{1063}(75,\cdot)\)
\(\chi_{1063}(78,\cdot)\)
\(\chi_{1063}(79,\cdot)\)
\(\chi_{1063}(80,\cdot)\)
\(\chi_{1063}(82,\cdot)\)
\(\chi_{1063}(84,\cdot)\)
\(\chi_{1063}(86,\cdot)\)
\(\chi_{1063}(95,\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_{531})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 1062 polynomial (not computed) |
sage:chi.fixed_field()
|
\(3\) → \(e\left(\frac{709}{1062}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1063 }(31, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{347}{531}\right)\) | \(e\left(\frac{709}{1062}\right)\) | \(e\left(\frac{163}{531}\right)\) | \(e\left(\frac{313}{354}\right)\) | \(e\left(\frac{341}{1062}\right)\) | \(e\left(\frac{7}{9}\right)\) | \(e\left(\frac{170}{177}\right)\) | \(e\left(\frac{178}{531}\right)\) | \(e\left(\frac{571}{1062}\right)\) | \(e\left(\frac{182}{531}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)