sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(3391, base_ring=CyclotomicField(3390))
M = H._module
chi = DirichletCharacter(H, M([2404]))
gp:[g,chi] = znchar(Mod(17, 3391))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("3391.17");
| Modulus: | \(3391\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(3391\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1695\) |
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: | even |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{3391}(5,\cdot)\)
\(\chi_{3391}(7,\cdot)\)
\(\chi_{3391}(9,\cdot)\)
\(\chi_{3391}(10,\cdot)\)
\(\chi_{3391}(14,\cdot)\)
\(\chi_{3391}(17,\cdot)\)
\(\chi_{3391}(18,\cdot)\)
\(\chi_{3391}(20,\cdot)\)
\(\chi_{3391}(25,\cdot)\)
\(\chi_{3391}(28,\cdot)\)
\(\chi_{3391}(31,\cdot)\)
\(\chi_{3391}(33,\cdot)\)
\(\chi_{3391}(34,\cdot)\)
\(\chi_{3391}(35,\cdot)\)
\(\chi_{3391}(36,\cdot)\)
\(\chi_{3391}(40,\cdot)\)
\(\chi_{3391}(45,\cdot)\)
\(\chi_{3391}(49,\cdot)\)
\(\chi_{3391}(50,\cdot)\)
\(\chi_{3391}(56,\cdot)\)
\(\chi_{3391}(61,\cdot)\)
\(\chi_{3391}(62,\cdot)\)
\(\chi_{3391}(63,\cdot)\)
\(\chi_{3391}(66,\cdot)\)
\(\chi_{3391}(67,\cdot)\)
\(\chi_{3391}(68,\cdot)\)
\(\chi_{3391}(70,\cdot)\)
\(\chi_{3391}(72,\cdot)\)
\(\chi_{3391}(80,\cdot)\)
\(\chi_{3391}(81,\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 };
\(3\) → \(e\left(\frac{1202}{1695}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 3391 }(17, a) \) |
\(1\) | \(1\) | \(e\left(\frac{21}{113}\right)\) | \(e\left(\frac{1202}{1695}\right)\) | \(e\left(\frac{42}{113}\right)\) | \(e\left(\frac{913}{1695}\right)\) | \(e\left(\frac{1517}{1695}\right)\) | \(e\left(\frac{1624}{1695}\right)\) | \(e\left(\frac{63}{113}\right)\) | \(e\left(\frac{709}{1695}\right)\) | \(e\left(\frac{1228}{1695}\right)\) | \(e\left(\frac{1169}{1695}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)