from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(143, base_ring=CyclotomicField(60))
M = H._module
chi = DirichletCharacter(H, M([6,25]))
pari: [g,chi] = znchar(Mod(123,143))
Basic properties
Modulus: | \(143\) | |
Conductor: | \(143\) | 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: | even | sage: chi.is_odd()
pari: zncharisodd(g,chi)
|
Galois orbit 143.w
\(\chi_{143}(2,\cdot)\) \(\chi_{143}(6,\cdot)\) \(\chi_{143}(7,\cdot)\) \(\chi_{143}(19,\cdot)\) \(\chi_{143}(24,\cdot)\) \(\chi_{143}(28,\cdot)\) \(\chi_{143}(41,\cdot)\) \(\chi_{143}(46,\cdot)\) \(\chi_{143}(50,\cdot)\) \(\chi_{143}(63,\cdot)\) \(\chi_{143}(72,\cdot)\) \(\chi_{143}(84,\cdot)\) \(\chi_{143}(85,\cdot)\) \(\chi_{143}(106,\cdot)\) \(\chi_{143}(123,\cdot)\) \(\chi_{143}(128,\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
\((79,67)\) → \((e\left(\frac{1}{10}\right),e\left(\frac{5}{12}\right))\)
First values
\(a\) | \(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(12\) |
\( \chi_{ 143 }(123, a) \) | \(1\) | \(1\) | \(e\left(\frac{31}{60}\right)\) | \(e\left(\frac{7}{15}\right)\) | \(e\left(\frac{1}{30}\right)\) | \(e\left(\frac{3}{20}\right)\) | \(e\left(\frac{59}{60}\right)\) | \(e\left(\frac{17}{60}\right)\) | \(e\left(\frac{11}{20}\right)\) | \(e\left(\frac{14}{15}\right)\) | \(e\left(\frac{2}{3}\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)