sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2645, base_ring=CyclotomicField(506))
M = H._module
chi = DirichletCharacter(H, M([253,170]))
gp:[g,chi] = znchar(Mod(2004, 2645))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("2645.2004");
| Modulus: | \(2645\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(2645\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(506\) |
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_{2645}(4,\cdot)\)
\(\chi_{2645}(9,\cdot)\)
\(\chi_{2645}(29,\cdot)\)
\(\chi_{2645}(39,\cdot)\)
\(\chi_{2645}(49,\cdot)\)
\(\chi_{2645}(54,\cdot)\)
\(\chi_{2645}(59,\cdot)\)
\(\chi_{2645}(64,\cdot)\)
\(\chi_{2645}(94,\cdot)\)
\(\chi_{2645}(104,\cdot)\)
\(\chi_{2645}(119,\cdot)\)
\(\chi_{2645}(124,\cdot)\)
\(\chi_{2645}(144,\cdot)\)
\(\chi_{2645}(154,\cdot)\)
\(\chi_{2645}(164,\cdot)\)
\(\chi_{2645}(169,\cdot)\)
\(\chi_{2645}(174,\cdot)\)
\(\chi_{2645}(179,\cdot)\)
\(\chi_{2645}(209,\cdot)\)
\(\chi_{2645}(219,\cdot)\)
\(\chi_{2645}(234,\cdot)\)
\(\chi_{2645}(239,\cdot)\)
\(\chi_{2645}(259,\cdot)\)
\(\chi_{2645}(269,\cdot)\)
\(\chi_{2645}(279,\cdot)\)
\(\chi_{2645}(284,\cdot)\)
\(\chi_{2645}(289,\cdot)\)
\(\chi_{2645}(294,\cdot)\)
\(\chi_{2645}(324,\cdot)\)
\(\chi_{2645}(349,\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 };
\((2117,2121)\) → \((-1,e\left(\frac{85}{253}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(7\) | \(8\) | \(9\) | \(11\) | \(12\) | \(13\) |
| \( \chi_{ 2645 }(2004, a) \) |
\(1\) | \(1\) | \(e\left(\frac{351}{506}\right)\) | \(e\left(\frac{443}{506}\right)\) | \(e\left(\frac{98}{253}\right)\) | \(e\left(\frac{144}{253}\right)\) | \(e\left(\frac{425}{506}\right)\) | \(e\left(\frac{41}{506}\right)\) | \(e\left(\frac{190}{253}\right)\) | \(e\left(\frac{215}{253}\right)\) | \(e\left(\frac{133}{506}\right)\) | \(e\left(\frac{169}{506}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)