sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1063, base_ring=CyclotomicField(354))
M = H._module
chi = DirichletCharacter(H, M([148]))
gp:[g,chi] = znchar(Mod(37, 1063))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1063.37");
| Modulus: | \(1063\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1063\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(177\) |
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_{1063}(8,\cdot)\)
\(\chi_{1063}(13,\cdot)\)
\(\chi_{1063}(18,\cdot)\)
\(\chi_{1063}(25,\cdot)\)
\(\chi_{1063}(37,\cdot)\)
\(\chi_{1063}(44,\cdot)\)
\(\chi_{1063}(60,\cdot)\)
\(\chi_{1063}(63,\cdot)\)
\(\chi_{1063}(64,\cdot)\)
\(\chi_{1063}(89,\cdot)\)
\(\chi_{1063}(92,\cdot)\)
\(\chi_{1063}(94,\cdot)\)
\(\chi_{1063}(98,\cdot)\)
\(\chi_{1063}(104,\cdot)\)
\(\chi_{1063}(133,\cdot)\)
\(\chi_{1063}(135,\cdot)\)
\(\chi_{1063}(136,\cdot)\)
\(\chi_{1063}(154,\cdot)\)
\(\chi_{1063}(169,\cdot)\)
\(\chi_{1063}(186,\cdot)\)
\(\chi_{1063}(193,\cdot)\)
\(\chi_{1063}(205,\cdot)\)
\(\chi_{1063}(207,\cdot)\)
\(\chi_{1063}(209,\cdot)\)
\(\chi_{1063}(215,\cdot)\)
\(\chi_{1063}(221,\cdot)\)
\(\chi_{1063}(224,\cdot)\)
\(\chi_{1063}(268,\cdot)\)
\(\chi_{1063}(278,\cdot)\)
\(\chi_{1063}(292,\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_{177})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 177 polynomial (not computed) |
sage:chi.fixed_field()
|
\(3\) → \(e\left(\frac{74}{177}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1063 }(37, a) \) |
\(1\) | \(1\) | \(e\left(\frac{26}{177}\right)\) | \(e\left(\frac{74}{177}\right)\) | \(e\left(\frac{52}{177}\right)\) | \(e\left(\frac{34}{59}\right)\) | \(e\left(\frac{100}{177}\right)\) | \(e\left(\frac{1}{3}\right)\) | \(e\left(\frac{26}{59}\right)\) | \(e\left(\frac{148}{177}\right)\) | \(e\left(\frac{128}{177}\right)\) | \(e\left(\frac{32}{177}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)