sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(17827, base_ring=CyclotomicField(17826))
M = H._module
chi = DirichletCharacter(H, M([1]))
gp:[g,chi] = znchar(Mod(2, 17827))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("17827.2");
| Modulus: | \(17827\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(17827\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(17826\) |
sage:chi.multiplicative_order()
gp:charorder(g,chi)
magma:Order(chi);
|
| Real: | no |
sage:chi.multiplicative_order() <= 2
gp:charorder(g,chi) <= 2
magma:Order(chi) le 2;
|
| Primitive: | yes |
sage:chi.is_primitive()
gp:#znconreyconductor(g,chi)==1
magma:IsPrimitive(chi);
|
| Minimal: | yes |
| Parity: | odd |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{17827}(2,\cdot)\)
\(\chi_{17827}(3,\cdot)\)
\(\chi_{17827}(5,\cdot)\)
\(\chi_{17827}(12,\cdot)\)
\(\chi_{17827}(14,\cdot)\)
\(\chi_{17827}(17,\cdot)\)
\(\chi_{17827}(18,\cdot)\)
\(\chi_{17827}(21,\cdot)\)
\(\chi_{17827}(22,\cdot)\)
\(\chi_{17827}(30,\cdot)\)
\(\chi_{17827}(31,\cdot)\)
\(\chi_{17827}(32,\cdot)\)
\(\chi_{17827}(35,\cdot)\)
\(\chi_{17827}(39,\cdot)\)
\(\chi_{17827}(45,\cdot)\)
\(\chi_{17827}(55,\cdot)\)
\(\chi_{17827}(72,\cdot)\)
\(\chi_{17827}(74,\cdot)\)
\(\chi_{17827}(75,\cdot)\)
\(\chi_{17827}(76,\cdot)\)
\(\chi_{17827}(79,\cdot)\)
\(\chi_{17827}(80,\cdot)\)
\(\chi_{17827}(82,\cdot)\)
\(\chi_{17827}(83,\cdot)\)
\(\chi_{17827}(84,\cdot)\)
\(\chi_{17827}(88,\cdot)\)
\(\chi_{17827}(89,\cdot)\)
\(\chi_{17827}(92,\cdot)\)
\(\chi_{17827}(97,\cdot)\)
\(\chi_{17827}(98,\cdot)\)
...
sage:chi.galois_orbit()
gp:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
magma:order := Order(chi);
{ chi^k : k in [1..order-1] | GCD(k,order) eq 1 };
\(2\) → \(e\left(\frac{1}{17826}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 17827 }(2, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{1}{17826}\right)\) | \(e\left(\frac{8369}{17826}\right)\) | \(e\left(\frac{1}{8913}\right)\) | \(e\left(\frac{10777}{17826}\right)\) | \(e\left(\frac{1395}{2971}\right)\) | \(e\left(\frac{446}{2971}\right)\) | \(e\left(\frac{1}{5942}\right)\) | \(e\left(\frac{8369}{8913}\right)\) | \(e\left(\frac{5389}{8913}\right)\) | \(e\left(\frac{1493}{8913}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)