sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1007, base_ring=CyclotomicField(234))
M = H._module
chi = DirichletCharacter(H, M([208,36]))
gp:[g,chi] = znchar(Mod(309, 1007))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1007.309");
| Modulus: | \(1007\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1007\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(117\) |
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_{1007}(16,\cdot)\)
\(\chi_{1007}(24,\cdot)\)
\(\chi_{1007}(28,\cdot)\)
\(\chi_{1007}(36,\cdot)\)
\(\chi_{1007}(42,\cdot)\)
\(\chi_{1007}(44,\cdot)\)
\(\chi_{1007}(47,\cdot)\)
\(\chi_{1007}(63,\cdot)\)
\(\chi_{1007}(66,\cdot)\)
\(\chi_{1007}(81,\cdot)\)
\(\chi_{1007}(99,\cdot)\)
\(\chi_{1007}(100,\cdot)\)
\(\chi_{1007}(119,\cdot)\)
\(\chi_{1007}(130,\cdot)\)
\(\chi_{1007}(142,\cdot)\)
\(\chi_{1007}(150,\cdot)\)
\(\chi_{1007}(169,\cdot)\)
\(\chi_{1007}(175,\cdot)\)
\(\chi_{1007}(187,\cdot)\)
\(\chi_{1007}(195,\cdot)\)
\(\chi_{1007}(206,\cdot)\)
\(\chi_{1007}(225,\cdot)\)
\(\chi_{1007}(256,\cdot)\)
\(\chi_{1007}(275,\cdot)\)
\(\chi_{1007}(289,\cdot)\)
\(\chi_{1007}(301,\cdot)\)
\(\chi_{1007}(309,\cdot)\)
\(\chi_{1007}(328,\cdot)\)
\(\chi_{1007}(346,\cdot)\)
\(\chi_{1007}(365,\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 };
\((743,267)\) → \((e\left(\frac{8}{9}\right),e\left(\frac{2}{13}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1007 }(309, a) \) |
\(1\) | \(1\) | \(e\left(\frac{5}{117}\right)\) | \(e\left(\frac{20}{117}\right)\) | \(e\left(\frac{10}{117}\right)\) | \(e\left(\frac{53}{117}\right)\) | \(e\left(\frac{25}{117}\right)\) | \(e\left(\frac{19}{39}\right)\) | \(e\left(\frac{5}{39}\right)\) | \(e\left(\frac{40}{117}\right)\) | \(e\left(\frac{58}{117}\right)\) | \(e\left(\frac{23}{39}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)