sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4163, base_ring=CyclotomicField(1980))
M = H._module
chi = DirichletCharacter(H, M([1350,1639]))
gp:[g,chi] = znchar(Mod(157, 4163))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4163.157");
| Modulus: | \(4163\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4163\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1980\) |
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_{4163}(10,\cdot)\)
\(\chi_{4163}(21,\cdot)\)
\(\chi_{4163}(28,\cdot)\)
\(\chi_{4163}(53,\cdot)\)
\(\chi_{4163}(57,\cdot)\)
\(\chi_{4163}(63,\cdot)\)
\(\chi_{4163}(66,\cdot)\)
\(\chi_{4163}(76,\cdot)\)
\(\chi_{4163}(83,\cdot)\)
\(\chi_{4163}(84,\cdot)\)
\(\chi_{4163}(90,\cdot)\)
\(\chi_{4163}(97,\cdot)\)
\(\chi_{4163}(103,\cdot)\)
\(\chi_{4163}(112,\cdot)\)
\(\chi_{4163}(134,\cdot)\)
\(\chi_{4163}(153,\cdot)\)
\(\chi_{4163}(157,\cdot)\)
\(\chi_{4163}(158,\cdot)\)
\(\chi_{4163}(171,\cdot)\)
\(\chi_{4163}(191,\cdot)\)
\(\chi_{4163}(199,\cdot)\)
\(\chi_{4163}(204,\cdot)\)
\(\chi_{4163}(205,\cdot)\)
\(\chi_{4163}(222,\cdot)\)
\(\chi_{4163}(228,\cdot)\)
\(\chi_{4163}(235,\cdot)\)
\(\chi_{4163}(244,\cdot)\)
\(\chi_{4163}(247,\cdot)\)
\(\chi_{4163}(250,\cdot)\)
\(\chi_{4163}(258,\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 };
\((2535,1450)\) → \((e\left(\frac{15}{22}\right),e\left(\frac{149}{180}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4163 }(157, a) \) |
\(1\) | \(1\) | \(e\left(\frac{379}{1980}\right)\) | \(e\left(\frac{131}{495}\right)\) | \(e\left(\frac{379}{990}\right)\) | \(e\left(\frac{269}{330}\right)\) | \(e\left(\frac{301}{660}\right)\) | \(e\left(\frac{49}{132}\right)\) | \(e\left(\frac{379}{660}\right)\) | \(e\left(\frac{262}{495}\right)\) | \(e\left(\frac{13}{1980}\right)\) | \(e\left(\frac{227}{495}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)