sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2303, base_ring=CyclotomicField(966))
M = H._module
chi = DirichletCharacter(H, M([391,714]))
pari:[g,chi] = znchar(Mod(222,2303))
| Modulus: | \(2303\) | |
| Conductor: | \(2303\) |
sage:chi.conductor()
pari:znconreyconductor(g,chi)
|
| Order: | \(966\) |
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)
|
\(\chi_{2303}(3,\cdot)\)
\(\chi_{2303}(12,\cdot)\)
\(\chi_{2303}(17,\cdot)\)
\(\chi_{2303}(24,\cdot)\)
\(\chi_{2303}(54,\cdot)\)
\(\chi_{2303}(59,\cdot)\)
\(\chi_{2303}(61,\cdot)\)
\(\chi_{2303}(75,\cdot)\)
\(\chi_{2303}(89,\cdot)\)
\(\chi_{2303}(96,\cdot)\)
\(\chi_{2303}(101,\cdot)\)
\(\chi_{2303}(103,\cdot)\)
\(\chi_{2303}(108,\cdot)\)
\(\chi_{2303}(110,\cdot)\)
\(\chi_{2303}(115,\cdot)\)
\(\chi_{2303}(122,\cdot)\)
\(\chi_{2303}(131,\cdot)\)
\(\chi_{2303}(136,\cdot)\)
\(\chi_{2303}(143,\cdot)\)
\(\chi_{2303}(145,\cdot)\)
\(\chi_{2303}(150,\cdot)\)
\(\chi_{2303}(157,\cdot)\)
\(\chi_{2303}(159,\cdot)\)
\(\chi_{2303}(173,\cdot)\)
\(\chi_{2303}(192,\cdot)\)
\(\chi_{2303}(194,\cdot)\)
\(\chi_{2303}(206,\cdot)\)
\(\chi_{2303}(213,\cdot)\)
\(\chi_{2303}(220,\cdot)\)
\(\chi_{2303}(222,\cdot)\)
...
sage:chi.galois_orbit()
pari:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
\((2257,99)\) → \((e\left(\frac{17}{42}\right),e\left(\frac{17}{23}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(8\) | \(9\) | \(10\) | \(11\) | \(12\) |
| \( \chi_{ 2303 }(222, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{400}{483}\right)\) | \(e\left(\frac{181}{966}\right)\) | \(e\left(\frac{317}{483}\right)\) | \(e\left(\frac{461}{966}\right)\) | \(e\left(\frac{5}{322}\right)\) | \(e\left(\frac{78}{161}\right)\) | \(e\left(\frac{181}{483}\right)\) | \(e\left(\frac{295}{966}\right)\) | \(e\left(\frac{176}{483}\right)\) | \(e\left(\frac{815}{966}\right)\) |
sage:chi.jacobi_sum(n)