sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4019, base_ring=CyclotomicField(4018))
M = H._module
chi = DirichletCharacter(H, M([262]))
gp:[g,chi] = znchar(Mod(22, 4019))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4019.22");
| Modulus: | \(4019\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4019\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2009\) |
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_{4019}(4,\cdot)\)
\(\chi_{4019}(5,\cdot)\)
\(\chi_{4019}(12,\cdot)\)
\(\chi_{4019}(14,\cdot)\)
\(\chi_{4019}(15,\cdot)\)
\(\chi_{4019}(16,\cdot)\)
\(\chi_{4019}(19,\cdot)\)
\(\chi_{4019}(22,\cdot)\)
\(\chi_{4019}(23,\cdot)\)
\(\chi_{4019}(25,\cdot)\)
\(\chi_{4019}(26,\cdot)\)
\(\chi_{4019}(36,\cdot)\)
\(\chi_{4019}(43,\cdot)\)
\(\chi_{4019}(45,\cdot)\)
\(\chi_{4019}(49,\cdot)\)
\(\chi_{4019}(53,\cdot)\)
\(\chi_{4019}(57,\cdot)\)
\(\chi_{4019}(58,\cdot)\)
\(\chi_{4019}(60,\cdot)\)
\(\chi_{4019}(62,\cdot)\)
\(\chi_{4019}(64,\cdot)\)
\(\chi_{4019}(66,\cdot)\)
\(\chi_{4019}(67,\cdot)\)
\(\chi_{4019}(69,\cdot)\)
\(\chi_{4019}(70,\cdot)\)
\(\chi_{4019}(73,\cdot)\)
\(\chi_{4019}(74,\cdot)\)
\(\chi_{4019}(75,\cdot)\)
\(\chi_{4019}(76,\cdot)\)
\(\chi_{4019}(77,\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{131}{2009}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4019 }(22, a) \) |
\(1\) | \(1\) | \(e\left(\frac{131}{2009}\right)\) | \(e\left(\frac{41}{49}\right)\) | \(e\left(\frac{262}{2009}\right)\) | \(e\left(\frac{1817}{2009}\right)\) | \(e\left(\frac{1812}{2009}\right)\) | \(e\left(\frac{1534}{2009}\right)\) | \(e\left(\frac{393}{2009}\right)\) | \(e\left(\frac{33}{49}\right)\) | \(e\left(\frac{1948}{2009}\right)\) | \(e\left(\frac{38}{2009}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)