sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1183, base_ring=CyclotomicField(156))
M = H._module
chi = DirichletCharacter(H, M([52,19]))
gp:[g,chi] = znchar(Mod(219, 1183))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1183.219");
| 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}(2,\cdot)\)
\(\chi_{1183}(32,\cdot)\)
\(\chi_{1183}(37,\cdot)\)
\(\chi_{1183}(46,\cdot)\)
\(\chi_{1183}(93,\cdot)\)
\(\chi_{1183}(123,\cdot)\)
\(\chi_{1183}(128,\cdot)\)
\(\chi_{1183}(137,\cdot)\)
\(\chi_{1183}(184,\cdot)\)
\(\chi_{1183}(214,\cdot)\)
\(\chi_{1183}(219,\cdot)\)
\(\chi_{1183}(228,\cdot)\)
\(\chi_{1183}(275,\cdot)\)
\(\chi_{1183}(305,\cdot)\)
\(\chi_{1183}(310,\cdot)\)
\(\chi_{1183}(366,\cdot)\)
\(\chi_{1183}(396,\cdot)\)
\(\chi_{1183}(401,\cdot)\)
\(\chi_{1183}(410,\cdot)\)
\(\chi_{1183}(457,\cdot)\)
\(\chi_{1183}(487,\cdot)\)
\(\chi_{1183}(492,\cdot)\)
\(\chi_{1183}(501,\cdot)\)
\(\chi_{1183}(548,\cdot)\)
\(\chi_{1183}(578,\cdot)\)
\(\chi_{1183}(583,\cdot)\)
\(\chi_{1183}(592,\cdot)\)
\(\chi_{1183}(639,\cdot)\)
\(\chi_{1183}(669,\cdot)\)
\(\chi_{1183}(674,\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{19}{156}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(8\) | \(9\) | \(10\) | \(11\) | \(12\) |
| \( \chi_{ 1183 }(219, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{41}{52}\right)\) | \(e\left(\frac{17}{39}\right)\) | \(e\left(\frac{15}{26}\right)\) | \(e\left(\frac{119}{156}\right)\) | \(e\left(\frac{35}{156}\right)\) | \(e\left(\frac{19}{52}\right)\) | \(e\left(\frac{34}{39}\right)\) | \(e\left(\frac{43}{78}\right)\) | \(e\left(\frac{137}{156}\right)\) | \(e\left(\frac{1}{78}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)