from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(224, base_ring=CyclotomicField(24))
M = H._module
chi = DirichletCharacter(H, M([0,3,8]))
pari: [g,chi] = znchar(Mod(37,224))
Basic properties
Modulus: | \(224\) | |
Conductor: | \(224\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(24\) | 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 224.bd
\(\chi_{224}(37,\cdot)\) \(\chi_{224}(53,\cdot)\) \(\chi_{224}(93,\cdot)\) \(\chi_{224}(109,\cdot)\) \(\chi_{224}(149,\cdot)\) \(\chi_{224}(165,\cdot)\) \(\chi_{224}(205,\cdot)\) \(\chi_{224}(221,\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_{24})\) |
Fixed field: | 24.24.329123002999201416128761938882499016916992.1 |
Values on generators
\((127,197,129)\) → \((1,e\left(\frac{1}{8}\right),e\left(\frac{1}{3}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(3\) | \(5\) | \(9\) | \(11\) | \(13\) | \(15\) | \(17\) | \(19\) | \(23\) | \(25\) |
\( \chi_{ 224 }(37, a) \) | \(1\) | \(1\) | \(e\left(\frac{17}{24}\right)\) | \(e\left(\frac{19}{24}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{23}{24}\right)\) | \(e\left(\frac{7}{8}\right)\) | \(-1\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{13}{24}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{7}{12}\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)