from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1224, base_ring=CyclotomicField(8))
M = H._module
chi = DirichletCharacter(H, M([4,0,4,7]))
pari: [g,chi] = znchar(Mod(359,1224))
Basic properties
Modulus: | \(1224\) | |
Conductor: | \(204\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(8\) | sage: chi.multiplicative_order()
pari: charorder(g,chi)
|
Real: | no | |
Primitive: | no, induced from \(\chi_{204}(155,\cdot)\) | sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1
|
Minimal: | no | |
Parity: | even | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 1224.br
\(\chi_{1224}(287,\cdot)\) \(\chi_{1224}(359,\cdot)\) \(\chi_{1224}(791,\cdot)\) \(\chi_{1224}(1079,\cdot)\)
sage: chi.galois_orbit()
order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
Related number fields
Field of values: | \(\Q(\zeta_{8})\) |
Fixed field: | 8.8.8508782723328.1 |
Values on generators
\((919,613,137,649)\) → \((-1,1,-1,e\left(\frac{7}{8}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(5\) | \(7\) | \(11\) | \(13\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) | \(35\) |
\( \chi_{ 1224 }(359, a) \) | \(1\) | \(1\) | \(e\left(\frac{7}{8}\right)\) | \(e\left(\frac{1}{8}\right)\) | \(e\left(\frac{1}{8}\right)\) | \(-1\) | \(-i\) | \(e\left(\frac{1}{8}\right)\) | \(-i\) | \(e\left(\frac{7}{8}\right)\) | \(e\left(\frac{3}{8}\right)\) | \(1\) |
sage: chi.jacobi_sum(n)