sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2557, base_ring=CyclotomicField(2556))
M = H._module
chi = DirichletCharacter(H, M([827]))
gp:[g,chi] = znchar(Mod(1068, 2557))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("2557.1068");
| Modulus: | \(2557\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(2557\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2556\) |
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_{2557}(2,\cdot)\)
\(\chi_{2557}(5,\cdot)\)
\(\chi_{2557}(6,\cdot)\)
\(\chi_{2557}(15,\cdot)\)
\(\chi_{2557}(17,\cdot)\)
\(\chi_{2557}(24,\cdot)\)
\(\chi_{2557}(31,\cdot)\)
\(\chi_{2557}(32,\cdot)\)
\(\chi_{2557}(41,\cdot)\)
\(\chi_{2557}(42,\cdot)\)
\(\chi_{2557}(43,\cdot)\)
\(\chi_{2557}(47,\cdot)\)
\(\chi_{2557}(51,\cdot)\)
\(\chi_{2557}(54,\cdot)\)
\(\chi_{2557}(56,\cdot)\)
\(\chi_{2557}(60,\cdot)\)
\(\chi_{2557}(66,\cdot)\)
\(\chi_{2557}(67,\cdot)\)
\(\chi_{2557}(72,\cdot)\)
\(\chi_{2557}(78,\cdot)\)
\(\chi_{2557}(80,\cdot)\)
\(\chi_{2557}(83,\cdot)\)
\(\chi_{2557}(88,\cdot)\)
\(\chi_{2557}(89,\cdot)\)
\(\chi_{2557}(98,\cdot)\)
\(\chi_{2557}(103,\cdot)\)
\(\chi_{2557}(104,\cdot)\)
\(\chi_{2557}(105,\cdot)\)
\(\chi_{2557}(106,\cdot)\)
\(\chi_{2557}(107,\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 };
\(2\) → \(e\left(\frac{827}{2556}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 2557 }(1068, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{827}{2556}\right)\) | \(e\left(\frac{35}{639}\right)\) | \(e\left(\frac{827}{1278}\right)\) | \(e\left(\frac{365}{2556}\right)\) | \(e\left(\frac{967}{2556}\right)\) | \(e\left(\frac{887}{1278}\right)\) | \(e\left(\frac{827}{852}\right)\) | \(e\left(\frac{70}{639}\right)\) | \(e\left(\frac{298}{639}\right)\) | \(e\left(\frac{334}{639}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)