sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1183, base_ring=CyclotomicField(156))
M = H._module
chi = DirichletCharacter(H, M([78,103]))
gp:[g,chi] = znchar(Mod(349, 1183))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1183.349");
| 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: | even |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{1183}(6,\cdot)\)
\(\chi_{1183}(20,\cdot)\)
\(\chi_{1183}(41,\cdot)\)
\(\chi_{1183}(76,\cdot)\)
\(\chi_{1183}(97,\cdot)\)
\(\chi_{1183}(111,\cdot)\)
\(\chi_{1183}(132,\cdot)\)
\(\chi_{1183}(167,\cdot)\)
\(\chi_{1183}(202,\cdot)\)
\(\chi_{1183}(223,\cdot)\)
\(\chi_{1183}(279,\cdot)\)
\(\chi_{1183}(293,\cdot)\)
\(\chi_{1183}(314,\cdot)\)
\(\chi_{1183}(349,\cdot)\)
\(\chi_{1183}(370,\cdot)\)
\(\chi_{1183}(384,\cdot)\)
\(\chi_{1183}(405,\cdot)\)
\(\chi_{1183}(440,\cdot)\)
\(\chi_{1183}(461,\cdot)\)
\(\chi_{1183}(475,\cdot)\)
\(\chi_{1183}(496,\cdot)\)
\(\chi_{1183}(531,\cdot)\)
\(\chi_{1183}(552,\cdot)\)
\(\chi_{1183}(566,\cdot)\)
\(\chi_{1183}(622,\cdot)\)
\(\chi_{1183}(643,\cdot)\)
\(\chi_{1183}(678,\cdot)\)
\(\chi_{1183}(713,\cdot)\)
\(\chi_{1183}(734,\cdot)\)
\(\chi_{1183}(748,\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)\) → \((-1,e\left(\frac{103}{156}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(8\) | \(9\) | \(10\) | \(11\) | \(12\) |
| \( \chi_{ 1183 }(349, a) \) |
\(1\) | \(1\) | \(e\left(\frac{103}{156}\right)\) | \(e\left(\frac{29}{78}\right)\) | \(e\left(\frac{25}{78}\right)\) | \(e\left(\frac{23}{52}\right)\) | \(e\left(\frac{5}{156}\right)\) | \(e\left(\frac{51}{52}\right)\) | \(e\left(\frac{29}{39}\right)\) | \(e\left(\frac{4}{39}\right)\) | \(e\left(\frac{1}{156}\right)\) | \(e\left(\frac{9}{13}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)