from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(403, base_ring=CyclotomicField(60))
M = H._module
chi = DirichletCharacter(H, M([55,16]))
pari: [g,chi] = znchar(Mod(20,403))
Basic properties
Modulus: | \(403\) | |
Conductor: | \(403\) | sage: chi.conductor()
pari: znconreyconductor(g,chi)
|
Order: | \(60\) | 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 403.cf
\(\chi_{403}(20,\cdot)\) \(\chi_{403}(28,\cdot)\) \(\chi_{403}(50,\cdot)\) \(\chi_{403}(71,\cdot)\) \(\chi_{403}(72,\cdot)\) \(\chi_{403}(76,\cdot)\) \(\chi_{403}(111,\cdot)\) \(\chi_{403}(175,\cdot)\) \(\chi_{403}(193,\cdot)\) \(\chi_{403}(227,\cdot)\) \(\chi_{403}(236,\cdot)\) \(\chi_{403}(245,\cdot)\) \(\chi_{403}(262,\cdot)\) \(\chi_{403}(266,\cdot)\) \(\chi_{403}(319,\cdot)\) \(\chi_{403}(379,\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_{60})\) |
Fixed field: | Number field defined by a degree 60 polynomial |
Values on generators
\((249,313)\) → \((e\left(\frac{11}{12}\right),e\left(\frac{4}{15}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
\( \chi_{ 403 }(20, a) \) | \(-1\) | \(1\) | \(e\left(\frac{19}{60}\right)\) | \(e\left(\frac{14}{15}\right)\) | \(e\left(\frac{19}{30}\right)\) | \(e\left(\frac{7}{12}\right)\) | \(i\) | \(e\left(\frac{11}{20}\right)\) | \(e\left(\frac{19}{20}\right)\) | \(e\left(\frac{13}{15}\right)\) | \(e\left(\frac{9}{10}\right)\) | \(e\left(\frac{11}{20}\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)