sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4232, base_ring=CyclotomicField(506))
M = H._module
chi = DirichletCharacter(H, M([0,253,373]))
gp:[g,chi] = znchar(Mod(37, 4232))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4232.37");
| 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}(5,\cdot)\)
\(\chi_{4232}(21,\cdot)\)
\(\chi_{4232}(37,\cdot)\)
\(\chi_{4232}(53,\cdot)\)
\(\chi_{4232}(61,\cdot)\)
\(\chi_{4232}(109,\cdot)\)
\(\chi_{4232}(125,\cdot)\)
\(\chi_{4232}(149,\cdot)\)
\(\chi_{4232}(157,\cdot)\)
\(\chi_{4232}(181,\cdot)\)
\(\chi_{4232}(189,\cdot)\)
\(\chi_{4232}(205,\cdot)\)
\(\chi_{4232}(221,\cdot)\)
\(\chi_{4232}(237,\cdot)\)
\(\chi_{4232}(245,\cdot)\)
\(\chi_{4232}(293,\cdot)\)
\(\chi_{4232}(309,\cdot)\)
\(\chi_{4232}(333,\cdot)\)
\(\chi_{4232}(341,\cdot)\)
\(\chi_{4232}(365,\cdot)\)
\(\chi_{4232}(373,\cdot)\)
\(\chi_{4232}(389,\cdot)\)
\(\chi_{4232}(405,\cdot)\)
\(\chi_{4232}(421,\cdot)\)
\(\chi_{4232}(429,\cdot)\)
\(\chi_{4232}(477,\cdot)\)
\(\chi_{4232}(493,\cdot)\)
\(\chi_{4232}(517,\cdot)\)
\(\chi_{4232}(525,\cdot)\)
\(\chi_{4232}(549,\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{373}{506}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(5\) | \(7\) | \(9\) | \(11\) | \(13\) | \(15\) | \(17\) | \(19\) | \(21\) |
| \( \chi_{ 4232 }(37, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{149}{506}\right)\) | \(e\left(\frac{60}{253}\right)\) | \(e\left(\frac{47}{506}\right)\) | \(e\left(\frac{149}{253}\right)\) | \(e\left(\frac{122}{253}\right)\) | \(e\left(\frac{283}{506}\right)\) | \(e\left(\frac{269}{506}\right)\) | \(e\left(\frac{191}{506}\right)\) | \(e\left(\frac{86}{253}\right)\) | \(e\left(\frac{98}{253}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)