sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1600, base_ring=CyclotomicField(80))
M = H._module
chi = DirichletCharacter(H, M([40,5,8]))
gp:[g,chi] = znchar(Mod(379, 1600))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1600.379");
| 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: | odd |
sage:chi.is_odd()
gp:zncharisodd(g,chi)
magma:IsOdd(chi);
|
\(\chi_{1600}(19,\cdot)\)
\(\chi_{1600}(59,\cdot)\)
\(\chi_{1600}(139,\cdot)\)
\(\chi_{1600}(179,\cdot)\)
\(\chi_{1600}(219,\cdot)\)
\(\chi_{1600}(259,\cdot)\)
\(\chi_{1600}(339,\cdot)\)
\(\chi_{1600}(379,\cdot)\)
\(\chi_{1600}(419,\cdot)\)
\(\chi_{1600}(459,\cdot)\)
\(\chi_{1600}(539,\cdot)\)
\(\chi_{1600}(579,\cdot)\)
\(\chi_{1600}(619,\cdot)\)
\(\chi_{1600}(659,\cdot)\)
\(\chi_{1600}(739,\cdot)\)
\(\chi_{1600}(779,\cdot)\)
\(\chi_{1600}(819,\cdot)\)
\(\chi_{1600}(859,\cdot)\)
\(\chi_{1600}(939,\cdot)\)
\(\chi_{1600}(979,\cdot)\)
\(\chi_{1600}(1019,\cdot)\)
\(\chi_{1600}(1059,\cdot)\)
\(\chi_{1600}(1139,\cdot)\)
\(\chi_{1600}(1179,\cdot)\)
\(\chi_{1600}(1219,\cdot)\)
\(\chi_{1600}(1259,\cdot)\)
\(\chi_{1600}(1339,\cdot)\)
\(\chi_{1600}(1379,\cdot)\)
\(\chi_{1600}(1419,\cdot)\)
\(\chi_{1600}(1459,\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{1}{10}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(3\) | \(7\) | \(9\) | \(11\) | \(13\) | \(17\) | \(19\) | \(21\) | \(23\) | \(27\) |
| \( \chi_{ 1600 }(379, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{31}{80}\right)\) | \(e\left(\frac{5}{8}\right)\) | \(e\left(\frac{31}{40}\right)\) | \(e\left(\frac{33}{80}\right)\) | \(e\left(\frac{67}{80}\right)\) | \(e\left(\frac{1}{20}\right)\) | \(e\left(\frac{59}{80}\right)\) | \(e\left(\frac{1}{80}\right)\) | \(e\left(\frac{19}{40}\right)\) | \(e\left(\frac{13}{80}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)