sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1227, base_ring=CyclotomicField(102))
M = H._module
chi = DirichletCharacter(H, M([51,70]))
gp:[g,chi] = znchar(Mod(17, 1227))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1227.17");
| Modulus: | \(1227\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1227\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(102\) |
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_{1227}(17,\cdot)\)
\(\chi_{1227}(71,\cdot)\)
\(\chi_{1227}(77,\cdot)\)
\(\chi_{1227}(80,\cdot)\)
\(\chi_{1227}(98,\cdot)\)
\(\chi_{1227}(101,\cdot)\)
\(\chi_{1227}(167,\cdot)\)
\(\chi_{1227}(179,\cdot)\)
\(\chi_{1227}(197,\cdot)\)
\(\chi_{1227}(203,\cdot)\)
\(\chi_{1227}(218,\cdot)\)
\(\chi_{1227}(272,\cdot)\)
\(\chi_{1227}(389,\cdot)\)
\(\chi_{1227}(425,\cdot)\)
\(\chi_{1227}(494,\cdot)\)
\(\chi_{1227}(542,\cdot)\)
\(\chi_{1227}(548,\cdot)\)
\(\chi_{1227}(593,\cdot)\)
\(\chi_{1227}(665,\cdot)\)
\(\chi_{1227}(674,\cdot)\)
\(\chi_{1227}(695,\cdot)\)
\(\chi_{1227}(698,\cdot)\)
\(\chi_{1227}(773,\cdot)\)
\(\chi_{1227}(794,\cdot)\)
\(\chi_{1227}(809,\cdot)\)
\(\chi_{1227}(899,\cdot)\)
\(\chi_{1227}(914,\cdot)\)
\(\chi_{1227}(920,\cdot)\)
\(\chi_{1227}(1127,\cdot)\)
\(\chi_{1227}(1136,\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_{51})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 102 polynomial (not computed) |
sage:chi.fixed_field()
|
\((410,430)\) → \((-1,e\left(\frac{35}{51}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(7\) | \(8\) | \(10\) | \(11\) | \(13\) | \(14\) | \(16\) |
| \( \chi_{ 1227 }(17, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{79}{102}\right)\) | \(e\left(\frac{28}{51}\right)\) | \(e\left(\frac{33}{34}\right)\) | \(e\left(\frac{2}{3}\right)\) | \(e\left(\frac{11}{34}\right)\) | \(e\left(\frac{38}{51}\right)\) | \(e\left(\frac{7}{34}\right)\) | \(e\left(\frac{5}{17}\right)\) | \(e\left(\frac{15}{34}\right)\) | \(e\left(\frac{5}{51}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)