from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1920, base_ring=CyclotomicField(8))
M = H._module
chi = DirichletCharacter(H, M([4,3,0,2]))
pari: [g,chi] = znchar(Mod(1327,1920))
Basic properties
Modulus: | \(1920\) | |
Conductor: | \(160\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(8\) | sage: chi.multiplicative_order()
pari: charorder(g,chi)
|
Real: | no | |
Primitive: | no, induced from \(\chi_{160}(67,\cdot)\) | sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1
|
Minimal: | no | |
Parity: | even | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 1920.bo
\(\chi_{1920}(367,\cdot)\) \(\chi_{1920}(463,\cdot)\) \(\chi_{1920}(1327,\cdot)\) \(\chi_{1920}(1423,\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.33554432000000.2 |
Values on generators
\((511,901,641,1537)\) → \((-1,e\left(\frac{3}{8}\right),1,i)\)
First values
\(a\) | \(-1\) | \(1\) | \(7\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(29\) | \(31\) | \(37\) | \(41\) |
\( \chi_{ 1920 }(1327, a) \) | \(1\) | \(1\) | \(-1\) | \(e\left(\frac{3}{8}\right)\) | \(e\left(\frac{3}{8}\right)\) | \(-i\) | \(e\left(\frac{5}{8}\right)\) | \(-1\) | \(e\left(\frac{5}{8}\right)\) | \(-1\) | \(e\left(\frac{5}{8}\right)\) | \(i\) |
sage: chi.jacobi_sum(n)