sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4165, base_ring=CyclotomicField(336))
M = H._module
chi = DirichletCharacter(H, M([84,320,189]))
gp:[g,chi] = znchar(Mod(1187, 4165))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4165.1187");
| Modulus: | \(4165\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4165\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(336\) |
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_{4165}(23,\cdot)\)
\(\chi_{4165}(37,\cdot)\)
\(\chi_{4165}(58,\cdot)\)
\(\chi_{4165}(107,\cdot)\)
\(\chi_{4165}(163,\cdot)\)
\(\chi_{4165}(193,\cdot)\)
\(\chi_{4165}(198,\cdot)\)
\(\chi_{4165}(207,\cdot)\)
\(\chi_{4165}(228,\cdot)\)
\(\chi_{4165}(277,\cdot)\)
\(\chi_{4165}(333,\cdot)\)
\(\chi_{4165}(352,\cdot)\)
\(\chi_{4165}(368,\cdot)\)
\(\chi_{4165}(522,\cdot)\)
\(\chi_{4165}(592,\cdot)\)
\(\chi_{4165}(632,\cdot)\)
\(\chi_{4165}(653,\cdot)\)
\(\chi_{4165}(702,\cdot)\)
\(\chi_{4165}(758,\cdot)\)
\(\chi_{4165}(788,\cdot)\)
\(\chi_{4165}(793,\cdot)\)
\(\chi_{4165}(823,\cdot)\)
\(\chi_{4165}(872,\cdot)\)
\(\chi_{4165}(928,\cdot)\)
\(\chi_{4165}(947,\cdot)\)
\(\chi_{4165}(963,\cdot)\)
\(\chi_{4165}(1017,\cdot)\)
\(\chi_{4165}(1117,\cdot)\)
\(\chi_{4165}(1187,\cdot)\)
\(\chi_{4165}(1213,\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 };
\((1667,2551,2451)\) → \((i,e\left(\frac{20}{21}\right),e\left(\frac{9}{16}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(8\) | \(9\) | \(11\) | \(12\) | \(13\) | \(16\) |
| \( \chi_{ 4165 }(1187, a) \) |
\(1\) | \(1\) | \(e\left(\frac{149}{168}\right)\) | \(e\left(\frac{89}{336}\right)\) | \(e\left(\frac{65}{84}\right)\) | \(e\left(\frac{17}{112}\right)\) | \(e\left(\frac{37}{56}\right)\) | \(e\left(\frac{89}{168}\right)\) | \(e\left(\frac{11}{336}\right)\) | \(e\left(\frac{13}{336}\right)\) | \(e\left(\frac{3}{7}\right)\) | \(e\left(\frac{23}{42}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)