from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(68, base_ring=CyclotomicField(16))
M = H._module
chi = DirichletCharacter(H, M([8,9]))
pari: [g,chi] = znchar(Mod(31,68))
Basic properties
Modulus: | \(68\) | |
Conductor: | \(68\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(16\) | sage: chi.multiplicative_order()
pari: charorder(g,chi)
|
Real: | no | |
Primitive: | yes | sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1
|
Minimal: | yes | |
Parity: | even | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 68.i
\(\chi_{68}(3,\cdot)\) \(\chi_{68}(7,\cdot)\) \(\chi_{68}(11,\cdot)\) \(\chi_{68}(23,\cdot)\) \(\chi_{68}(27,\cdot)\) \(\chi_{68}(31,\cdot)\) \(\chi_{68}(39,\cdot)\) \(\chi_{68}(63,\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_{16})\) |
Fixed field: | \(\Q(\zeta_{68})^+\) |
Values on generators
\((35,37)\) → \((-1,e\left(\frac{9}{16}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(3\) | \(5\) | \(7\) | \(9\) | \(11\) | \(13\) | \(15\) | \(19\) | \(21\) | \(23\) |
\( \chi_{ 68 }(31, a) \) | \(1\) | \(1\) | \(e\left(\frac{1}{16}\right)\) | \(e\left(\frac{13}{16}\right)\) | \(e\left(\frac{11}{16}\right)\) | \(e\left(\frac{1}{8}\right)\) | \(e\left(\frac{7}{16}\right)\) | \(i\) | \(e\left(\frac{7}{8}\right)\) | \(e\left(\frac{3}{8}\right)\) | \(-i\) | \(e\left(\frac{15}{16}\right)\) |
sage: chi.jacobi_sum(n)
Gauss sum
sage: chi.gauss_sum(a)
pari: znchargauss(g,chi,a)
Jacobi sum
sage: chi.jacobi_sum(n)
Kloosterman sum
sage: chi.kloosterman_sum(a,b)