from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(352, base_ring=CyclotomicField(20))
M = H._module
chi = DirichletCharacter(H, M([10,15,18]))
pari: [g,chi] = znchar(Mod(215,352))
Basic properties
Modulus: | \(352\) | |
Conductor: | \(176\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(20\) | sage: chi.multiplicative_order()
pari: charorder(g,chi)
|
Real: | no | |
Primitive: | no, induced from \(\chi_{176}(83,\cdot)\) | sage: chi.is_primitive()
pari: #znconreyconductor(g,chi)==1
|
Minimal: | no | |
Parity: | even | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 352.bb
\(\chi_{352}(7,\cdot)\) \(\chi_{352}(39,\cdot)\) \(\chi_{352}(151,\cdot)\) \(\chi_{352}(167,\cdot)\) \(\chi_{352}(183,\cdot)\) \(\chi_{352}(215,\cdot)\) \(\chi_{352}(327,\cdot)\) \(\chi_{352}(343,\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_{20})\) |
Fixed field: | 20.20.200317132330035063121671003054276608.1 |
Values on generators
\((287,133,321)\) → \((-1,-i,e\left(\frac{9}{10}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(3\) | \(5\) | \(7\) | \(9\) | \(13\) | \(15\) | \(17\) | \(19\) | \(21\) | \(23\) |
\( \chi_{ 352 }(215, a) \) | \(1\) | \(1\) | \(e\left(\frac{19}{20}\right)\) | \(e\left(\frac{7}{20}\right)\) | \(e\left(\frac{3}{10}\right)\) | \(e\left(\frac{9}{10}\right)\) | \(e\left(\frac{3}{20}\right)\) | \(e\left(\frac{3}{10}\right)\) | \(e\left(\frac{1}{10}\right)\) | \(e\left(\frac{9}{20}\right)\) | \(i\) | \(1\) |
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)