sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(31734, base_ring=CyclotomicField(840))
M = H._module
chi = DirichletCharacter(H, M([280,231,120]))
gp:[g,chi] = znchar(Mod(643, 31734))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("31734.643");
| Modulus: | \(31734\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(15867\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(840\) |
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: | no, induced from \(\chi_{15867}(643,\cdot)\) |
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_{31734}(97,\cdot)\)
\(\chi_{31734}(193,\cdot)\)
\(\chi_{31734}(391,\cdot)\)
\(\chi_{31734}(403,\cdot)\)
\(\chi_{31734}(637,\cdot)\)
\(\chi_{31734}(643,\cdot)\)
\(\chi_{31734}(709,\cdot)\)
\(\chi_{31734}(895,\cdot)\)
\(\chi_{31734}(967,\cdot)\)
\(\chi_{31734}(1129,\cdot)\)
\(\chi_{31734}(1159,\cdot)\)
\(\chi_{31734}(1165,\cdot)\)
\(\chi_{31734}(1177,\cdot)\)
\(\chi_{31734}(1411,\cdot)\)
\(\chi_{31734}(1483,\cdot)\)
\(\chi_{31734}(1669,\cdot)\)
\(\chi_{31734}(1741,\cdot)\)
\(\chi_{31734}(1903,\cdot)\)
\(\chi_{31734}(1933,\cdot)\)
\(\chi_{31734}(1939,\cdot)\)
\(\chi_{31734}(1951,\cdot)\)
\(\chi_{31734}(2185,\cdot)\)
\(\chi_{31734}(2443,\cdot)\)
\(\chi_{31734}(2677,\cdot)\)
\(\chi_{31734}(2713,\cdot)\)
\(\chi_{31734}(2725,\cdot)\)
\(\chi_{31734}(2959,\cdot)\)
\(\chi_{31734}(2965,\cdot)\)
\(\chi_{31734}(3217,\cdot)\)
\(\chi_{31734}(3451,\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_{840})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 840 polynomial (not computed) |
sage:chi.fixed_field()
|
\((14105,30961,22879)\) → \((e\left(\frac{1}{3}\right),e\left(\frac{11}{40}\right),e\left(\frac{1}{7}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(5\) | \(7\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) |
| \( \chi_{ 31734 }(643, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{121}{420}\right)\) | \(e\left(\frac{7}{120}\right)\) | \(e\left(\frac{373}{840}\right)\) | \(e\left(\frac{641}{840}\right)\) | \(e\left(\frac{141}{280}\right)\) | \(e\left(\frac{53}{280}\right)\) | \(e\left(\frac{179}{210}\right)\) | \(e\left(\frac{121}{210}\right)\) | \(e\left(\frac{97}{840}\right)\) | \(e\left(\frac{47}{210}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)