sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(3151, base_ring=CyclotomicField(1496))
M = H._module
chi = DirichletCharacter(H, M([884,429]))
gp:[g,chi] = znchar(Mod(1010, 3151))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("3151.1010");
| Modulus: | \(3151\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(3151\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1496\) |
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_{3151}(5,\cdot)\)
\(\chi_{3151}(20,\cdot)\)
\(\chi_{3151}(21,\cdot)\)
\(\chi_{3151}(33,\cdot)\)
\(\chi_{3151}(40,\cdot)\)
\(\chi_{3151}(42,\cdot)\)
\(\chi_{3151}(43,\cdot)\)
\(\chi_{3151}(51,\cdot)\)
\(\chi_{3151}(53,\cdot)\)
\(\chi_{3151}(57,\cdot)\)
\(\chi_{3151}(66,\cdot)\)
\(\chi_{3151}(67,\cdot)\)
\(\chi_{3151}(79,\cdot)\)
\(\chi_{3151}(80,\cdot)\)
\(\chi_{3151}(83,\cdot)\)
\(\chi_{3151}(84,\cdot)\)
\(\chi_{3151}(86,\cdot)\)
\(\chi_{3151}(89,\cdot)\)
\(\chi_{3151}(90,\cdot)\)
\(\chi_{3151}(97,\cdot)\)
\(\chi_{3151}(102,\cdot)\)
\(\chi_{3151}(106,\cdot)\)
\(\chi_{3151}(111,\cdot)\)
\(\chi_{3151}(113,\cdot)\)
\(\chi_{3151}(125,\cdot)\)
\(\chi_{3151}(132,\cdot)\)
\(\chi_{3151}(134,\cdot)\)
\(\chi_{3151}(143,\cdot)\)
\(\chi_{3151}(149,\cdot)\)
\(\chi_{3151}(157,\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 };
\((2604,277)\) → \((e\left(\frac{13}{22}\right),e\left(\frac{39}{136}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 3151 }(1010, a) \) |
\(1\) | \(1\) | \(e\left(\frac{37}{748}\right)\) | \(e\left(\frac{1109}{1496}\right)\) | \(e\left(\frac{37}{374}\right)\) | \(e\left(\frac{147}{1496}\right)\) | \(e\left(\frac{1183}{1496}\right)\) | \(e\left(\frac{203}{748}\right)\) | \(e\left(\frac{111}{748}\right)\) | \(e\left(\frac{361}{748}\right)\) | \(e\left(\frac{13}{88}\right)\) | \(e\left(\frac{227}{748}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)