sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1637, base_ring=CyclotomicField(818))
M = H._module
chi = DirichletCharacter(H, M([113]))
gp:[g,chi] = znchar(Mod(25, 1637))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1637.25");
| Modulus: | \(1637\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1637\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(818\) |
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_{1637}(4,\cdot)\)
\(\chi_{1637}(6,\cdot)\)
\(\chi_{1637}(9,\cdot)\)
\(\chi_{1637}(14,\cdot)\)
\(\chi_{1637}(21,\cdot)\)
\(\chi_{1637}(25,\cdot)\)
\(\chi_{1637}(29,\cdot)\)
\(\chi_{1637}(31,\cdot)\)
\(\chi_{1637}(37,\cdot)\)
\(\chi_{1637}(38,\cdot)\)
\(\chi_{1637}(40,\cdot)\)
\(\chi_{1637}(44,\cdot)\)
\(\chi_{1637}(49,\cdot)\)
\(\chi_{1637}(52,\cdot)\)
\(\chi_{1637}(57,\cdot)\)
\(\chi_{1637}(60,\cdot)\)
\(\chi_{1637}(64,\cdot)\)
\(\chi_{1637}(66,\cdot)\)
\(\chi_{1637}(78,\cdot)\)
\(\chi_{1637}(85,\cdot)\)
\(\chi_{1637}(86,\cdot)\)
\(\chi_{1637}(90,\cdot)\)
\(\chi_{1637}(92,\cdot)\)
\(\chi_{1637}(96,\cdot)\)
\(\chi_{1637}(99,\cdot)\)
\(\chi_{1637}(117,\cdot)\)
\(\chi_{1637}(118,\cdot)\)
\(\chi_{1637}(122,\cdot)\)
\(\chi_{1637}(127,\cdot)\)
\(\chi_{1637}(129,\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{113}{818}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1637 }(25, a) \) |
\(1\) | \(1\) | \(e\left(\frac{113}{818}\right)\) | \(e\left(\frac{169}{818}\right)\) | \(e\left(\frac{113}{409}\right)\) | \(e\left(\frac{499}{818}\right)\) | \(e\left(\frac{141}{409}\right)\) | \(e\left(\frac{651}{818}\right)\) | \(e\left(\frac{339}{818}\right)\) | \(e\left(\frac{169}{409}\right)\) | \(e\left(\frac{306}{409}\right)\) | \(e\left(\frac{36}{409}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)