sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1251, base_ring=CyclotomicField(138))
M = H._module
chi = DirichletCharacter(H, M([115,123]))
gp:[g,chi] = znchar(Mod(1139, 1251))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1251.1139");
| Modulus: | \(1251\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1251\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(138\) |
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_{1251}(14,\cdot)\)
\(\chi_{1251}(23,\cdot)\)
\(\chi_{1251}(59,\cdot)\)
\(\chi_{1251}(74,\cdot)\)
\(\chi_{1251}(95,\cdot)\)
\(\chi_{1251}(149,\cdot)\)
\(\chi_{1251}(221,\cdot)\)
\(\chi_{1251}(272,\cdot)\)
\(\chi_{1251}(311,\cdot)\)
\(\chi_{1251}(317,\cdot)\)
\(\chi_{1251}(326,\cdot)\)
\(\chi_{1251}(338,\cdot)\)
\(\chi_{1251}(353,\cdot)\)
\(\chi_{1251}(362,\cdot)\)
\(\chi_{1251}(365,\cdot)\)
\(\chi_{1251}(383,\cdot)\)
\(\chi_{1251}(425,\cdot)\)
\(\chi_{1251}(479,\cdot)\)
\(\chi_{1251}(491,\cdot)\)
\(\chi_{1251}(632,\cdot)\)
\(\chi_{1251}(650,\cdot)\)
\(\chi_{1251}(659,\cdot)\)
\(\chi_{1251}(689,\cdot)\)
\(\chi_{1251}(722,\cdot)\)
\(\chi_{1251}(734,\cdot)\)
\(\chi_{1251}(743,\cdot)\)
\(\chi_{1251}(770,\cdot)\)
\(\chi_{1251}(779,\cdot)\)
\(\chi_{1251}(842,\cdot)\)
\(\chi_{1251}(848,\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 };
\((974,280)\) → \((e\left(\frac{5}{6}\right),e\left(\frac{41}{46}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(7\) | \(8\) | \(10\) | \(11\) | \(13\) | \(14\) | \(16\) |
| \( \chi_{ 1251 }(1139, a) \) |
\(1\) | \(1\) | \(e\left(\frac{50}{69}\right)\) | \(e\left(\frac{31}{69}\right)\) | \(e\left(\frac{113}{138}\right)\) | \(e\left(\frac{62}{69}\right)\) | \(e\left(\frac{4}{23}\right)\) | \(e\left(\frac{25}{46}\right)\) | \(e\left(\frac{79}{138}\right)\) | \(e\left(\frac{49}{69}\right)\) | \(e\left(\frac{43}{69}\right)\) | \(e\left(\frac{62}{69}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)