sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1255, base_ring=CyclotomicField(500))
M = H._module
chi = DirichletCharacter(H, M([375,166]))
gp:[g,chi] = znchar(Mod(1033, 1255))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1255.1033");
| Modulus: | \(1255\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1255\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(500\) |
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_{1255}(18,\cdot)\)
\(\chi_{1255}(33,\cdot)\)
\(\chi_{1255}(37,\cdot)\)
\(\chi_{1255}(42,\cdot)\)
\(\chi_{1255}(43,\cdot)\)
\(\chi_{1255}(53,\cdot)\)
\(\chi_{1255}(57,\cdot)\)
\(\chi_{1255}(62,\cdot)\)
\(\chi_{1255}(72,\cdot)\)
\(\chi_{1255}(77,\cdot)\)
\(\chi_{1255}(78,\cdot)\)
\(\chi_{1255}(82,\cdot)\)
\(\chi_{1255}(87,\cdot)\)
\(\chi_{1255}(97,\cdot)\)
\(\chi_{1255}(98,\cdot)\)
\(\chi_{1255}(107,\cdot)\)
\(\chi_{1255}(127,\cdot)\)
\(\chi_{1255}(132,\cdot)\)
\(\chi_{1255}(133,\cdot)\)
\(\chi_{1255}(137,\cdot)\)
\(\chi_{1255}(143,\cdot)\)
\(\chi_{1255}(148,\cdot)\)
\(\chi_{1255}(158,\cdot)\)
\(\chi_{1255}(162,\cdot)\)
\(\chi_{1255}(163,\cdot)\)
\(\chi_{1255}(167,\cdot)\)
\(\chi_{1255}(168,\cdot)\)
\(\chi_{1255}(172,\cdot)\)
\(\chi_{1255}(177,\cdot)\)
\(\chi_{1255}(178,\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 };
\((252,6)\) → \((-i,e\left(\frac{83}{250}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(7\) | \(8\) | \(9\) | \(11\) | \(12\) | \(13\) |
| \( \chi_{ 1255 }(1033, a) \) |
\(1\) | \(1\) | \(e\left(\frac{77}{100}\right)\) | \(e\left(\frac{281}{500}\right)\) | \(e\left(\frac{27}{50}\right)\) | \(e\left(\frac{83}{250}\right)\) | \(e\left(\frac{43}{500}\right)\) | \(e\left(\frac{31}{100}\right)\) | \(e\left(\frac{31}{250}\right)\) | \(e\left(\frac{13}{250}\right)\) | \(e\left(\frac{51}{500}\right)\) | \(e\left(\frac{337}{500}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)