sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1509, base_ring=CyclotomicField(502))
M = H._module
chi = DirichletCharacter(H, M([251,238]))
gp:[g,chi] = znchar(Mod(95, 1509))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1509.95");
| Modulus: | \(1509\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1509\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(502\) |
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_{1509}(2,\cdot)\)
\(\chi_{1509}(8,\cdot)\)
\(\chi_{1509}(11,\cdot)\)
\(\chi_{1509}(14,\cdot)\)
\(\chi_{1509}(23,\cdot)\)
\(\chi_{1509}(26,\cdot)\)
\(\chi_{1509}(32,\cdot)\)
\(\chi_{1509}(44,\cdot)\)
\(\chi_{1509}(47,\cdot)\)
\(\chi_{1509}(50,\cdot)\)
\(\chi_{1509}(56,\cdot)\)
\(\chi_{1509}(59,\cdot)\)
\(\chi_{1509}(77,\cdot)\)
\(\chi_{1509}(83,\cdot)\)
\(\chi_{1509}(86,\cdot)\)
\(\chi_{1509}(92,\cdot)\)
\(\chi_{1509}(95,\cdot)\)
\(\chi_{1509}(98,\cdot)\)
\(\chi_{1509}(104,\cdot)\)
\(\chi_{1509}(113,\cdot)\)
\(\chi_{1509}(122,\cdot)\)
\(\chi_{1509}(128,\cdot)\)
\(\chi_{1509}(131,\cdot)\)
\(\chi_{1509}(134,\cdot)\)
\(\chi_{1509}(143,\cdot)\)
\(\chi_{1509}(146,\cdot)\)
\(\chi_{1509}(155,\cdot)\)
\(\chi_{1509}(158,\cdot)\)
\(\chi_{1509}(161,\cdot)\)
\(\chi_{1509}(170,\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 };
\((1007,508)\) → \((-1,e\left(\frac{119}{251}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(4\) | \(5\) | \(7\) | \(8\) | \(10\) | \(11\) | \(13\) | \(14\) | \(16\) |
| \( \chi_{ 1509 }(95, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{135}{502}\right)\) | \(e\left(\frac{135}{251}\right)\) | \(e\left(\frac{489}{502}\right)\) | \(e\left(\frac{194}{251}\right)\) | \(e\left(\frac{405}{502}\right)\) | \(e\left(\frac{61}{251}\right)\) | \(e\left(\frac{207}{502}\right)\) | \(e\left(\frac{198}{251}\right)\) | \(e\left(\frac{21}{502}\right)\) | \(e\left(\frac{19}{251}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)