sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1600, base_ring=CyclotomicField(80))
M = H._module
chi = DirichletCharacter(H, M([0,5,24]))
gp:[g,chi] = znchar(Mod(389, 1600))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1600.389");
| 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}(29,\cdot)\)
\(\chi_{1600}(69,\cdot)\)
\(\chi_{1600}(109,\cdot)\)
\(\chi_{1600}(189,\cdot)\)
\(\chi_{1600}(229,\cdot)\)
\(\chi_{1600}(269,\cdot)\)
\(\chi_{1600}(309,\cdot)\)
\(\chi_{1600}(389,\cdot)\)
\(\chi_{1600}(429,\cdot)\)
\(\chi_{1600}(469,\cdot)\)
\(\chi_{1600}(509,\cdot)\)
\(\chi_{1600}(589,\cdot)\)
\(\chi_{1600}(629,\cdot)\)
\(\chi_{1600}(669,\cdot)\)
\(\chi_{1600}(709,\cdot)\)
\(\chi_{1600}(789,\cdot)\)
\(\chi_{1600}(829,\cdot)\)
\(\chi_{1600}(869,\cdot)\)
\(\chi_{1600}(909,\cdot)\)
\(\chi_{1600}(989,\cdot)\)
\(\chi_{1600}(1029,\cdot)\)
\(\chi_{1600}(1069,\cdot)\)
\(\chi_{1600}(1109,\cdot)\)
\(\chi_{1600}(1189,\cdot)\)
\(\chi_{1600}(1229,\cdot)\)
\(\chi_{1600}(1269,\cdot)\)
\(\chi_{1600}(1309,\cdot)\)
\(\chi_{1600}(1389,\cdot)\)
\(\chi_{1600}(1429,\cdot)\)
\(\chi_{1600}(1469,\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{1}{16}\right),e\left(\frac{3}{10}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 1600 }(389, a) \) |
\(1\) | \(1\) | \(e\left(\frac{23}{80}\right)\) | \(e\left(\frac{1}{8}\right)\) | \(e\left(\frac{23}{40}\right)\) | \(e\left(\frac{9}{80}\right)\) | \(e\left(\frac{51}{80}\right)\) | \(e\left(\frac{13}{20}\right)\) | \(e\left(\frac{67}{80}\right)\) | \(e\left(\frac{33}{80}\right)\) | \(e\left(\frac{7}{40}\right)\) | \(e\left(\frac{69}{80}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)