sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1600, base_ring=CyclotomicField(80))
M = H._module
chi = DirichletCharacter(H, M([40,35,4]))
gp:[g,chi] = znchar(Mod(1427, 1600))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1600.1427");
| Modulus: | \(1600\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1600\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(80\) |
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_{1600}(67,\cdot)\)
\(\chi_{1600}(123,\cdot)\)
\(\chi_{1600}(147,\cdot)\)
\(\chi_{1600}(203,\cdot)\)
\(\chi_{1600}(227,\cdot)\)
\(\chi_{1600}(283,\cdot)\)
\(\chi_{1600}(363,\cdot)\)
\(\chi_{1600}(387,\cdot)\)
\(\chi_{1600}(467,\cdot)\)
\(\chi_{1600}(523,\cdot)\)
\(\chi_{1600}(547,\cdot)\)
\(\chi_{1600}(603,\cdot)\)
\(\chi_{1600}(627,\cdot)\)
\(\chi_{1600}(683,\cdot)\)
\(\chi_{1600}(763,\cdot)\)
\(\chi_{1600}(787,\cdot)\)
\(\chi_{1600}(867,\cdot)\)
\(\chi_{1600}(923,\cdot)\)
\(\chi_{1600}(947,\cdot)\)
\(\chi_{1600}(1003,\cdot)\)
\(\chi_{1600}(1027,\cdot)\)
\(\chi_{1600}(1083,\cdot)\)
\(\chi_{1600}(1163,\cdot)\)
\(\chi_{1600}(1187,\cdot)\)
\(\chi_{1600}(1267,\cdot)\)
\(\chi_{1600}(1323,\cdot)\)
\(\chi_{1600}(1347,\cdot)\)
\(\chi_{1600}(1403,\cdot)\)
\(\chi_{1600}(1427,\cdot)\)
\(\chi_{1600}(1483,\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 };
\((1151,901,577)\) → \((-1,e\left(\frac{7}{16}\right),e\left(\frac{1}{20}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 1600 }(1427, a) \) |
\(1\) | \(1\) | \(e\left(\frac{13}{80}\right)\) | \(e\left(\frac{1}{8}\right)\) | \(e\left(\frac{13}{40}\right)\) | \(e\left(\frac{39}{80}\right)\) | \(e\left(\frac{41}{80}\right)\) | \(e\left(\frac{9}{10}\right)\) | \(e\left(\frac{37}{80}\right)\) | \(e\left(\frac{23}{80}\right)\) | \(e\left(\frac{7}{40}\right)\) | \(e\left(\frac{39}{80}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)