sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4232, base_ring=CyclotomicField(506))
M = H._module
chi = DirichletCharacter(H, M([253,253,168]))
gp:[g,chi] = znchar(Mod(59, 4232))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4232.59");
| Modulus: | \(4232\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4232\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(506\) |
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_{4232}(3,\cdot)\)
\(\chi_{4232}(27,\cdot)\)
\(\chi_{4232}(35,\cdot)\)
\(\chi_{4232}(59,\cdot)\)
\(\chi_{4232}(75,\cdot)\)
\(\chi_{4232}(123,\cdot)\)
\(\chi_{4232}(131,\cdot)\)
\(\chi_{4232}(147,\cdot)\)
\(\chi_{4232}(163,\cdot)\)
\(\chi_{4232}(179,\cdot)\)
\(\chi_{4232}(187,\cdot)\)
\(\chi_{4232}(211,\cdot)\)
\(\chi_{4232}(219,\cdot)\)
\(\chi_{4232}(243,\cdot)\)
\(\chi_{4232}(259,\cdot)\)
\(\chi_{4232}(307,\cdot)\)
\(\chi_{4232}(315,\cdot)\)
\(\chi_{4232}(331,\cdot)\)
\(\chi_{4232}(347,\cdot)\)
\(\chi_{4232}(363,\cdot)\)
\(\chi_{4232}(371,\cdot)\)
\(\chi_{4232}(395,\cdot)\)
\(\chi_{4232}(403,\cdot)\)
\(\chi_{4232}(427,\cdot)\)
\(\chi_{4232}(443,\cdot)\)
\(\chi_{4232}(491,\cdot)\)
\(\chi_{4232}(499,\cdot)\)
\(\chi_{4232}(515,\cdot)\)
\(\chi_{4232}(531,\cdot)\)
\(\chi_{4232}(547,\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_{253})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 506 polynomial (not computed) |
sage:chi.fixed_field()
|
\((3175,2117,2121)\) → \((-1,-1,e\left(\frac{84}{253}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(5\) | \(7\) | \(9\) | \(11\) | \(13\) | \(15\) | \(17\) | \(19\) | \(21\) |
| \( \chi_{ 4232 }(59, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{79}{253}\right)\) | \(e\left(\frac{421}{506}\right)\) | \(e\left(\frac{167}{506}\right)\) | \(e\left(\frac{158}{253}\right)\) | \(e\left(\frac{19}{253}\right)\) | \(e\left(\frac{295}{506}\right)\) | \(e\left(\frac{73}{506}\right)\) | \(e\left(\frac{159}{253}\right)\) | \(e\left(\frac{171}{253}\right)\) | \(e\left(\frac{325}{506}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)