sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(3787, base_ring=CyclotomicField(540))
M = H._module
chi = DirichletCharacter(H, M([450,499]))
gp:[g,chi] = znchar(Mod(40, 3787))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("3787.40");
| Modulus: | \(3787\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(3787\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(540\) |
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_{3787}(10,\cdot)\)
\(\chi_{3787}(24,\cdot)\)
\(\chi_{3787}(40,\cdot)\)
\(\chi_{3787}(54,\cdot)\)
\(\chi_{3787}(87,\cdot)\)
\(\chi_{3787}(94,\cdot)\)
\(\chi_{3787}(96,\cdot)\)
\(\chi_{3787}(131,\cdot)\)
\(\chi_{3787}(150,\cdot)\)
\(\chi_{3787}(206,\cdot)\)
\(\chi_{3787}(213,\cdot)\)
\(\chi_{3787}(250,\cdot)\)
\(\chi_{3787}(318,\cdot)\)
\(\chi_{3787}(360,\cdot)\)
\(\chi_{3787}(409,\cdot)\)
\(\chi_{3787}(474,\cdot)\)
\(\chi_{3787}(479,\cdot)\)
\(\chi_{3787}(486,\cdot)\)
\(\chi_{3787}(600,\cdot)\)
\(\chi_{3787}(614,\cdot)\)
\(\chi_{3787}(640,\cdot)\)
\(\chi_{3787}(717,\cdot)\)
\(\chi_{3787}(740,\cdot)\)
\(\chi_{3787}(759,\cdot)\)
\(\chi_{3787}(761,\cdot)\)
\(\chi_{3787}(789,\cdot)\)
\(\chi_{3787}(808,\cdot)\)
\(\chi_{3787}(810,\cdot)\)
\(\chi_{3787}(815,\cdot)\)
\(\chi_{3787}(824,\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 };
\((542,1625)\) → \((e\left(\frac{5}{6}\right),e\left(\frac{499}{540}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(8\) | \(9\) | \(10\) | \(11\) | \(12\) |
| \( \chi_{ 3787 }(40, a) \) |
\(1\) | \(1\) | \(e\left(\frac{319}{540}\right)\) | \(e\left(\frac{253}{270}\right)\) | \(e\left(\frac{49}{270}\right)\) | \(e\left(\frac{137}{270}\right)\) | \(e\left(\frac{19}{36}\right)\) | \(e\left(\frac{139}{180}\right)\) | \(e\left(\frac{118}{135}\right)\) | \(e\left(\frac{53}{540}\right)\) | \(e\left(\frac{101}{108}\right)\) | \(e\left(\frac{16}{135}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)