from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(99, base_ring=CyclotomicField(30))
M = H._module
chi = DirichletCharacter(H, M([5,24]))
pari: [g,chi] = znchar(Mod(47,99))
Basic properties
Modulus: | \(99\) | |
Conductor: | \(99\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(30\) | sage: chi.multiplicative_order()
pari: charorder(g,chi)
|
Real: | no | |
Primitive: | yes | sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1
|
Minimal: | yes | |
Parity: | odd | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 99.n
\(\chi_{99}(5,\cdot)\) \(\chi_{99}(14,\cdot)\) \(\chi_{99}(20,\cdot)\) \(\chi_{99}(38,\cdot)\) \(\chi_{99}(47,\cdot)\) \(\chi_{99}(59,\cdot)\) \(\chi_{99}(86,\cdot)\) \(\chi_{99}(92,\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_{15})\) |
Fixed field: | 30.0.29099190400267368949073680941341991556317731763.1 |
Values on generators
\((56,46)\) → \((e\left(\frac{1}{6}\right),e\left(\frac{4}{5}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(7\) | \(8\) | \(10\) | \(13\) | \(14\) | \(16\) | \(17\) |
\( \chi_{ 99 }(47, a) \) | \(-1\) | \(1\) | \(e\left(\frac{29}{30}\right)\) | \(e\left(\frac{14}{15}\right)\) | \(e\left(\frac{1}{30}\right)\) | \(e\left(\frac{4}{15}\right)\) | \(e\left(\frac{9}{10}\right)\) | \(1\) | \(e\left(\frac{2}{15}\right)\) | \(e\left(\frac{7}{30}\right)\) | \(e\left(\frac{13}{15}\right)\) | \(e\left(\frac{7}{10}\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)