sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1063, base_ring=CyclotomicField(1062))
M = H._module
chi = DirichletCharacter(H, M([4]))
gp:[g,chi] = znchar(Mod(81, 1063))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1063.81");
| 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: | \(531\) |
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_{1063}(2,\cdot)\)
\(\chi_{1063}(4,\cdot)\)
\(\chi_{1063}(9,\cdot)\)
\(\chi_{1063}(11,\cdot)\)
\(\chi_{1063}(14,\cdot)\)
\(\chi_{1063}(15,\cdot)\)
\(\chi_{1063}(16,\cdot)\)
\(\chi_{1063}(19,\cdot)\)
\(\chi_{1063}(22,\cdot)\)
\(\chi_{1063}(23,\cdot)\)
\(\chi_{1063}(26,\cdot)\)
\(\chi_{1063}(30,\cdot)\)
\(\chi_{1063}(32,\cdot)\)
\(\chi_{1063}(34,\cdot)\)
\(\chi_{1063}(36,\cdot)\)
\(\chi_{1063}(46,\cdot)\)
\(\chi_{1063}(47,\cdot)\)
\(\chi_{1063}(50,\cdot)\)
\(\chi_{1063}(52,\cdot)\)
\(\chi_{1063}(56,\cdot)\)
\(\chi_{1063}(67,\cdot)\)
\(\chi_{1063}(68,\cdot)\)
\(\chi_{1063}(72,\cdot)\)
\(\chi_{1063}(73,\cdot)\)
\(\chi_{1063}(74,\cdot)\)
\(\chi_{1063}(76,\cdot)\)
\(\chi_{1063}(77,\cdot)\)
\(\chi_{1063}(81,\cdot)\)
\(\chi_{1063}(83,\cdot)\)
\(\chi_{1063}(87,\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 531 polynomial (not computed) |
sage:chi.fixed_field()
|
\(3\) → \(e\left(\frac{2}{531}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1063 }(81, a) \) |
\(1\) | \(1\) | \(e\left(\frac{503}{531}\right)\) | \(e\left(\frac{2}{531}\right)\) | \(e\left(\frac{475}{531}\right)\) | \(e\left(\frac{95}{177}\right)\) | \(e\left(\frac{505}{531}\right)\) | \(e\left(\frac{4}{9}\right)\) | \(e\left(\frac{149}{177}\right)\) | \(e\left(\frac{4}{531}\right)\) | \(e\left(\frac{257}{531}\right)\) | \(e\left(\frac{374}{531}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)