from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(693, base_ring=CyclotomicField(30))
M = H._module
chi = DirichletCharacter(H, M([5,25,27]))
pari: [g,chi] = znchar(Mod(677,693))
Basic properties
Modulus: | \(693\) | |
Conductor: | \(693\) | 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 693.cp
\(\chi_{693}(173,\cdot)\) \(\chi_{693}(248,\cdot)\) \(\chi_{693}(299,\cdot)\) \(\chi_{693}(425,\cdot)\) \(\chi_{693}(437,\cdot)\) \(\chi_{693}(563,\cdot)\) \(\chi_{693}(677,\cdot)\) \(\chi_{693}(689,\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.51940958778659285629492061583017397724801826665868102075811248077778271.1 |
Values on generators
\((155,199,442)\) → \((e\left(\frac{1}{6}\right),e\left(\frac{5}{6}\right),e\left(\frac{9}{10}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(8\) | \(10\) | \(13\) | \(16\) | \(17\) | \(19\) | \(20\) |
\( \chi_{ 693 }(677, a) \) | \(-1\) | \(1\) | \(e\left(\frac{11}{15}\right)\) | \(e\left(\frac{7}{15}\right)\) | \(e\left(\frac{3}{5}\right)\) | \(e\left(\frac{1}{5}\right)\) | \(e\left(\frac{1}{3}\right)\) | \(e\left(\frac{11}{15}\right)\) | \(e\left(\frac{14}{15}\right)\) | \(e\left(\frac{13}{30}\right)\) | \(e\left(\frac{13}{15}\right)\) | \(e\left(\frac{1}{15}\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)