sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1183, base_ring=CyclotomicField(156))
M = H._module
chi = DirichletCharacter(H, M([52,29]))
gp:[g,chi] = znchar(Mod(331, 1183))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1183.331");
| Modulus: | \(1183\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1183\) |
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_{1183}(11,\cdot)\)
\(\chi_{1183}(58,\cdot)\)
\(\chi_{1183}(67,\cdot)\)
\(\chi_{1183}(72,\cdot)\)
\(\chi_{1183}(102,\cdot)\)
\(\chi_{1183}(149,\cdot)\)
\(\chi_{1183}(158,\cdot)\)
\(\chi_{1183}(163,\cdot)\)
\(\chi_{1183}(193,\cdot)\)
\(\chi_{1183}(240,\cdot)\)
\(\chi_{1183}(254,\cdot)\)
\(\chi_{1183}(284,\cdot)\)
\(\chi_{1183}(331,\cdot)\)
\(\chi_{1183}(340,\cdot)\)
\(\chi_{1183}(345,\cdot)\)
\(\chi_{1183}(375,\cdot)\)
\(\chi_{1183}(422,\cdot)\)
\(\chi_{1183}(431,\cdot)\)
\(\chi_{1183}(436,\cdot)\)
\(\chi_{1183}(466,\cdot)\)
\(\chi_{1183}(513,\cdot)\)
\(\chi_{1183}(522,\cdot)\)
\(\chi_{1183}(527,\cdot)\)
\(\chi_{1183}(557,\cdot)\)
\(\chi_{1183}(604,\cdot)\)
\(\chi_{1183}(613,\cdot)\)
\(\chi_{1183}(618,\cdot)\)
\(\chi_{1183}(648,\cdot)\)
\(\chi_{1183}(704,\cdot)\)
\(\chi_{1183}(709,\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 };
| Field of values: |
$\Q(\zeta_{156})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 156 polynomial (not computed) |
sage:chi.fixed_field()
|
\((339,1016)\) → \((e\left(\frac{1}{3}\right),e\left(\frac{29}{156}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(8\) | \(9\) | \(10\) | \(11\) | \(12\) |
| \( \chi_{ 1183 }(331, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{133}{156}\right)\) | \(e\left(\frac{5}{13}\right)\) | \(e\left(\frac{55}{78}\right)\) | \(e\left(\frac{53}{156}\right)\) | \(e\left(\frac{37}{156}\right)\) | \(e\left(\frac{29}{52}\right)\) | \(e\left(\frac{10}{13}\right)\) | \(e\left(\frac{5}{26}\right)\) | \(e\left(\frac{25}{52}\right)\) | \(e\left(\frac{7}{78}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)