sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(113, base_ring=CyclotomicField(14))
M = H._module
chi = DirichletCharacter(H, M([12]))
pari:[g,chi] = znchar(Mod(30,113))
| Modulus: | \(113\) | |
| Conductor: | \(113\) |
sage:chi.conductor()
pari:znconreyconductor(g,chi)
|
| Order: | \(7\) |
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)
|
\(\chi_{113}(16,\cdot)\)
\(\chi_{113}(28,\cdot)\)
\(\chi_{113}(30,\cdot)\)
\(\chi_{113}(49,\cdot)\)
\(\chi_{113}(106,\cdot)\)
\(\chi_{113}(109,\cdot)\)
sage:chi.galois_orbit()
pari:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
\(3\) → \(e\left(\frac{6}{7}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 113 }(30, a) \) |
\(1\) | \(1\) | \(e\left(\frac{2}{7}\right)\) | \(e\left(\frac{6}{7}\right)\) | \(e\left(\frac{4}{7}\right)\) | \(e\left(\frac{1}{7}\right)\) | \(e\left(\frac{1}{7}\right)\) | \(e\left(\frac{6}{7}\right)\) | \(e\left(\frac{6}{7}\right)\) | \(e\left(\frac{5}{7}\right)\) | \(e\left(\frac{3}{7}\right)\) | \(e\left(\frac{3}{7}\right)\) |
sage:chi.jacobi_sum(n)
sage:chi.gauss_sum(a)
pari:znchargauss(g,chi,a)
sage:chi.jacobi_sum(n)
sage:chi.kloosterman_sum(a,b)