sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1323, base_ring=CyclotomicField(126))
M = H._module
chi = DirichletCharacter(H, M([7,66]))
gp:[g,chi] = znchar(Mod(1271, 1323))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1323.1271");
| Modulus: | \(1323\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1323\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(126\) |
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_{1323}(11,\cdot)\)
\(\chi_{1323}(23,\cdot)\)
\(\chi_{1323}(74,\cdot)\)
\(\chi_{1323}(86,\cdot)\)
\(\chi_{1323}(137,\cdot)\)
\(\chi_{1323}(149,\cdot)\)
\(\chi_{1323}(200,\cdot)\)
\(\chi_{1323}(212,\cdot)\)
\(\chi_{1323}(326,\cdot)\)
\(\chi_{1323}(338,\cdot)\)
\(\chi_{1323}(389,\cdot)\)
\(\chi_{1323}(401,\cdot)\)
\(\chi_{1323}(452,\cdot)\)
\(\chi_{1323}(464,\cdot)\)
\(\chi_{1323}(515,\cdot)\)
\(\chi_{1323}(527,\cdot)\)
\(\chi_{1323}(578,\cdot)\)
\(\chi_{1323}(590,\cdot)\)
\(\chi_{1323}(641,\cdot)\)
\(\chi_{1323}(653,\cdot)\)
\(\chi_{1323}(767,\cdot)\)
\(\chi_{1323}(779,\cdot)\)
\(\chi_{1323}(830,\cdot)\)
\(\chi_{1323}(842,\cdot)\)
\(\chi_{1323}(893,\cdot)\)
\(\chi_{1323}(905,\cdot)\)
\(\chi_{1323}(956,\cdot)\)
\(\chi_{1323}(968,\cdot)\)
\(\chi_{1323}(1019,\cdot)\)
\(\chi_{1323}(1031,\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_{63})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 126 polynomial (not computed) |
sage:chi.fixed_field()
|
\((785,1081)\) → \((e\left(\frac{1}{18}\right),e\left(\frac{11}{21}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(8\) | \(10\) | \(11\) | \(13\) | \(16\) | \(17\) | \(19\) |
| \( \chi_{ 1323 }(1271, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{85}{126}\right)\) | \(e\left(\frac{22}{63}\right)\) | \(e\left(\frac{59}{126}\right)\) | \(e\left(\frac{1}{42}\right)\) | \(e\left(\frac{1}{7}\right)\) | \(e\left(\frac{85}{126}\right)\) | \(e\left(\frac{46}{63}\right)\) | \(e\left(\frac{44}{63}\right)\) | \(e\left(\frac{13}{14}\right)\) | \(1\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)