sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5987, base_ring=CyclotomicField(5986))
M = H._module
chi = DirichletCharacter(H, M([1]))
gp:[g,chi] = znchar(Mod(2, 5987))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("5987.2");
| Modulus: | \(5987\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(5987\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(5986\) |
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_{5987}(2,\cdot)\)
\(\chi_{5987}(5,\cdot)\)
\(\chi_{5987}(6,\cdot)\)
\(\chi_{5987}(7,\cdot)\)
\(\chi_{5987}(8,\cdot)\)
\(\chi_{5987}(11,\cdot)\)
\(\chi_{5987}(13,\cdot)\)
\(\chi_{5987}(15,\cdot)\)
\(\chi_{5987}(17,\cdot)\)
\(\chi_{5987}(18,\cdot)\)
\(\chi_{5987}(20,\cdot)\)
\(\chi_{5987}(21,\cdot)\)
\(\chi_{5987}(24,\cdot)\)
\(\chi_{5987}(28,\cdot)\)
\(\chi_{5987}(31,\cdot)\)
\(\chi_{5987}(32,\cdot)\)
\(\chi_{5987}(33,\cdot)\)
\(\chi_{5987}(38,\cdot)\)
\(\chi_{5987}(39,\cdot)\)
\(\chi_{5987}(43,\cdot)\)
\(\chi_{5987}(44,\cdot)\)
\(\chi_{5987}(45,\cdot)\)
\(\chi_{5987}(46,\cdot)\)
\(\chi_{5987}(47,\cdot)\)
\(\chi_{5987}(50,\cdot)\)
\(\chi_{5987}(51,\cdot)\)
\(\chi_{5987}(52,\cdot)\)
\(\chi_{5987}(53,\cdot)\)
\(\chi_{5987}(54,\cdot)\)
\(\chi_{5987}(58,\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{1}{5986}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 5987 }(2, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{1}{5986}\right)\) | \(e\left(\frac{1348}{2993}\right)\) | \(e\left(\frac{1}{2993}\right)\) | \(e\left(\frac{413}{5986}\right)\) | \(e\left(\frac{2697}{5986}\right)\) | \(e\left(\frac{97}{5986}\right)\) | \(e\left(\frac{3}{5986}\right)\) | \(e\left(\frac{2696}{2993}\right)\) | \(e\left(\frac{207}{2993}\right)\) | \(e\left(\frac{2331}{5986}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)