sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2539, base_ring=CyclotomicField(2538))
M = H._module
chi = DirichletCharacter(H, M([446]))
gp:[g,chi] = znchar(Mod(34, 2539))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("2539.34");
| Modulus: | \(2539\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(2539\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1269\) |
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_{2539}(4,\cdot)\)
\(\chi_{2539}(5,\cdot)\)
\(\chi_{2539}(7,\cdot)\)
\(\chi_{2539}(9,\cdot)\)
\(\chi_{2539}(13,\cdot)\)
\(\chi_{2539}(16,\cdot)\)
\(\chi_{2539}(19,\cdot)\)
\(\chi_{2539}(22,\cdot)\)
\(\chi_{2539}(24,\cdot)\)
\(\chi_{2539}(25,\cdot)\)
\(\chi_{2539}(28,\cdot)\)
\(\chi_{2539}(29,\cdot)\)
\(\chi_{2539}(30,\cdot)\)
\(\chi_{2539}(33,\cdot)\)
\(\chi_{2539}(34,\cdot)\)
\(\chi_{2539}(42,\cdot)\)
\(\chi_{2539}(45,\cdot)\)
\(\chi_{2539}(49,\cdot)\)
\(\chi_{2539}(54,\cdot)\)
\(\chi_{2539}(59,\cdot)\)
\(\chi_{2539}(65,\cdot)\)
\(\chi_{2539}(69,\cdot)\)
\(\chi_{2539}(73,\cdot)\)
\(\chi_{2539}(78,\cdot)\)
\(\chi_{2539}(80,\cdot)\)
\(\chi_{2539}(81,\cdot)\)
\(\chi_{2539}(89,\cdot)\)
\(\chi_{2539}(93,\cdot)\)
\(\chi_{2539}(95,\cdot)\)
\(\chi_{2539}(96,\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 };
\(2\) → \(e\left(\frac{223}{1269}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 2539 }(34, a) \) |
\(1\) | \(1\) | \(e\left(\frac{223}{1269}\right)\) | \(e\left(\frac{185}{1269}\right)\) | \(e\left(\frac{446}{1269}\right)\) | \(e\left(\frac{394}{1269}\right)\) | \(e\left(\frac{136}{423}\right)\) | \(e\left(\frac{947}{1269}\right)\) | \(e\left(\frac{223}{423}\right)\) | \(e\left(\frac{370}{1269}\right)\) | \(e\left(\frac{617}{1269}\right)\) | \(e\left(\frac{20}{141}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)