sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(9787, base_ring=CyclotomicField(9786))
M = H._module
chi = DirichletCharacter(H, M([5639]))
gp:[g,chi] = znchar(Mod(30, 9787))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("9787.30");
| Modulus: | \(9787\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(9787\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(9786\) |
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_{9787}(3,\cdot)\)
\(\chi_{9787}(5,\cdot)\)
\(\chi_{9787}(12,\cdot)\)
\(\chi_{9787}(17,\cdot)\)
\(\chi_{9787}(20,\cdot)\)
\(\chi_{9787}(22,\cdot)\)
\(\chi_{9787}(29,\cdot)\)
\(\chi_{9787}(30,\cdot)\)
\(\chi_{9787}(33,\cdot)\)
\(\chi_{9787}(38,\cdot)\)
\(\chi_{9787}(41,\cdot)\)
\(\chi_{9787}(42,\cdot)\)
\(\chi_{9787}(50,\cdot)\)
\(\chi_{9787}(52,\cdot)\)
\(\chi_{9787}(53,\cdot)\)
\(\chi_{9787}(55,\cdot)\)
\(\chi_{9787}(62,\cdot)\)
\(\chi_{9787}(68,\cdot)\)
\(\chi_{9787}(70,\cdot)\)
\(\chi_{9787}(72,\cdot)\)
\(\chi_{9787}(73,\cdot)\)
\(\chi_{9787}(77,\cdot)\)
\(\chi_{9787}(80,\cdot)\)
\(\chi_{9787}(86,\cdot)\)
\(\chi_{9787}(88,\cdot)\)
\(\chi_{9787}(89,\cdot)\)
\(\chi_{9787}(93,\cdot)\)
\(\chi_{9787}(94,\cdot)\)
\(\chi_{9787}(105,\cdot)\)
\(\chi_{9787}(116,\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 };
\(3\) → \(e\left(\frac{5639}{9786}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 9787 }(30, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{1269}{3262}\right)\) | \(e\left(\frac{5639}{9786}\right)\) | \(e\left(\frac{1269}{1631}\right)\) | \(e\left(\frac{3947}{9786}\right)\) | \(e\left(\frac{4723}{4893}\right)\) | \(e\left(\frac{961}{3262}\right)\) | \(e\left(\frac{545}{3262}\right)\) | \(e\left(\frac{746}{4893}\right)\) | \(e\left(\frac{3877}{4893}\right)\) | \(e\left(\frac{3373}{4893}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)