sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1323, base_ring=CyclotomicField(126))
M = H._module
chi = DirichletCharacter(H, M([70,78]))
gp:[g,chi] = znchar(Mod(835, 1323))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1323.835");
| Modulus: | \(1323\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1323\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(63\) |
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_{1323}(4,\cdot)\)
\(\chi_{1323}(16,\cdot)\)
\(\chi_{1323}(130,\cdot)\)
\(\chi_{1323}(142,\cdot)\)
\(\chi_{1323}(193,\cdot)\)
\(\chi_{1323}(205,\cdot)\)
\(\chi_{1323}(256,\cdot)\)
\(\chi_{1323}(268,\cdot)\)
\(\chi_{1323}(319,\cdot)\)
\(\chi_{1323}(331,\cdot)\)
\(\chi_{1323}(382,\cdot)\)
\(\chi_{1323}(394,\cdot)\)
\(\chi_{1323}(445,\cdot)\)
\(\chi_{1323}(457,\cdot)\)
\(\chi_{1323}(571,\cdot)\)
\(\chi_{1323}(583,\cdot)\)
\(\chi_{1323}(634,\cdot)\)
\(\chi_{1323}(646,\cdot)\)
\(\chi_{1323}(697,\cdot)\)
\(\chi_{1323}(709,\cdot)\)
\(\chi_{1323}(760,\cdot)\)
\(\chi_{1323}(772,\cdot)\)
\(\chi_{1323}(823,\cdot)\)
\(\chi_{1323}(835,\cdot)\)
\(\chi_{1323}(886,\cdot)\)
\(\chi_{1323}(898,\cdot)\)
\(\chi_{1323}(1012,\cdot)\)
\(\chi_{1323}(1024,\cdot)\)
\(\chi_{1323}(1075,\cdot)\)
\(\chi_{1323}(1087,\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 };
\((785,1081)\) → \((e\left(\frac{5}{9}\right),e\left(\frac{13}{21}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(8\) | \(10\) | \(11\) | \(13\) | \(16\) | \(17\) | \(19\) |
| \( \chi_{ 1323 }(835, a) \) |
\(1\) | \(1\) | \(e\left(\frac{41}{63}\right)\) | \(e\left(\frac{19}{63}\right)\) | \(e\left(\frac{46}{63}\right)\) | \(e\left(\frac{20}{21}\right)\) | \(e\left(\frac{8}{21}\right)\) | \(e\left(\frac{62}{63}\right)\) | \(e\left(\frac{55}{63}\right)\) | \(e\left(\frac{38}{63}\right)\) | \(e\left(\frac{17}{21}\right)\) | \(e\left(\frac{1}{3}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)