from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(196, base_ring=CyclotomicField(14))
M = H._module
chi = DirichletCharacter(H, M([7,11]))
pari: [g,chi] = znchar(Mod(111,196))
Basic properties
Modulus: | \(196\) | |
Conductor: | \(196\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(14\) | 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 196.j
\(\chi_{196}(27,\cdot)\) \(\chi_{196}(55,\cdot)\) \(\chi_{196}(83,\cdot)\) \(\chi_{196}(111,\cdot)\) \(\chi_{196}(139,\cdot)\) \(\chi_{196}(167,\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_{7})\) |
Fixed field: | 14.14.21972068264574400934821888.1 |
Values on generators
\((99,101)\) → \((-1,e\left(\frac{11}{14}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(3\) | \(5\) | \(9\) | \(11\) | \(13\) | \(15\) | \(17\) | \(19\) | \(23\) | \(25\) |
\( \chi_{ 196 }(111, a) \) | \(1\) | \(1\) | \(e\left(\frac{2}{7}\right)\) | \(e\left(\frac{11}{14}\right)\) | \(e\left(\frac{4}{7}\right)\) | \(e\left(\frac{13}{14}\right)\) | \(e\left(\frac{13}{14}\right)\) | \(e\left(\frac{1}{14}\right)\) | \(e\left(\frac{9}{14}\right)\) | \(1\) | \(e\left(\frac{5}{14}\right)\) | \(e\left(\frac{4}{7}\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)