sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1580, base_ring=CyclotomicField(156))
M = H._module
chi = DirichletCharacter(H, M([78,117,70]))
gp:[g,chi] = znchar(Mod(1303, 1580))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1580.1303");
| Modulus: | \(1580\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1580\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(156\) |
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: | odd |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{1580}(3,\cdot)\)
\(\chi_{1580}(7,\cdot)\)
\(\chi_{1580}(43,\cdot)\)
\(\chi_{1580}(47,\cdot)\)
\(\chi_{1580}(63,\cdot)\)
\(\chi_{1580}(107,\cdot)\)
\(\chi_{1580}(127,\cdot)\)
\(\chi_{1580}(147,\cdot)\)
\(\chi_{1580}(187,\cdot)\)
\(\chi_{1580}(243,\cdot)\)
\(\chi_{1580}(267,\cdot)\)
\(\chi_{1580}(303,\cdot)\)
\(\chi_{1580}(307,\cdot)\)
\(\chi_{1580}(323,\cdot)\)
\(\chi_{1580}(363,\cdot)\)
\(\chi_{1580}(423,\cdot)\)
\(\chi_{1580}(443,\cdot)\)
\(\chi_{1580}(463,\cdot)\)
\(\chi_{1580}(503,\cdot)\)
\(\chi_{1580}(527,\cdot)\)
\(\chi_{1580}(583,\cdot)\)
\(\chi_{1580}(587,\cdot)\)
\(\chi_{1580}(607,\cdot)\)
\(\chi_{1580}(623,\cdot)\)
\(\chi_{1580}(627,\cdot)\)
\(\chi_{1580}(667,\cdot)\)
\(\chi_{1580}(707,\cdot)\)
\(\chi_{1580}(827,\cdot)\)
\(\chi_{1580}(843,\cdot)\)
\(\chi_{1580}(867,\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 };
\((791,317,161)\) → \((-1,-i,e\left(\frac{35}{78}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 1580 }(1303, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{31}{156}\right)\) | \(e\left(\frac{5}{156}\right)\) | \(e\left(\frac{31}{78}\right)\) | \(e\left(\frac{1}{78}\right)\) | \(e\left(\frac{79}{156}\right)\) | \(e\left(\frac{9}{52}\right)\) | \(e\left(\frac{14}{39}\right)\) | \(e\left(\frac{3}{13}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{31}{52}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)