from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(441, base_ring=CyclotomicField(42))
M = H._module
chi = DirichletCharacter(H, M([28,18]))
pari: [g,chi] = znchar(Mod(421,441))
Basic properties
Modulus: | \(441\) | |
Conductor: | \(441\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(21\) | 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 441.ba
\(\chi_{441}(22,\cdot)\) \(\chi_{441}(43,\cdot)\) \(\chi_{441}(85,\cdot)\) \(\chi_{441}(106,\cdot)\) \(\chi_{441}(169,\cdot)\) \(\chi_{441}(211,\cdot)\) \(\chi_{441}(232,\cdot)\) \(\chi_{441}(274,\cdot)\) \(\chi_{441}(337,\cdot)\) \(\chi_{441}(358,\cdot)\) \(\chi_{441}(400,\cdot)\) \(\chi_{441}(421,\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_{21})\) |
Fixed field: | Number field defined by a degree 21 polynomial |
Values on generators
\((344,199)\) → \((e\left(\frac{2}{3}\right),e\left(\frac{3}{7}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(8\) | \(10\) | \(11\) | \(13\) | \(16\) | \(17\) | \(19\) |
\( \chi_{ 441 }(421, a) \) | \(1\) | \(1\) | \(e\left(\frac{17}{21}\right)\) | \(e\left(\frac{13}{21}\right)\) | \(e\left(\frac{16}{21}\right)\) | \(e\left(\frac{3}{7}\right)\) | \(e\left(\frac{4}{7}\right)\) | \(e\left(\frac{17}{21}\right)\) | \(e\left(\frac{10}{21}\right)\) | \(e\left(\frac{5}{21}\right)\) | \(e\left(\frac{5}{7}\right)\) | \(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)