sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4957, base_ring=CyclotomicField(826))
M = H._module
chi = DirichletCharacter(H, M([764]))
gp:[g,chi] = znchar(Mod(1070, 4957))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4957.1070");
| Modulus: | \(4957\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4957\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(413\) |
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_{4957}(3,\cdot)\)
\(\chi_{4957}(9,\cdot)\)
\(\chi_{4957}(10,\cdot)\)
\(\chi_{4957}(27,\cdot)\)
\(\chi_{4957}(30,\cdot)\)
\(\chi_{4957}(34,\cdot)\)
\(\chi_{4957}(41,\cdot)\)
\(\chi_{4957}(49,\cdot)\)
\(\chi_{4957}(52,\cdot)\)
\(\chi_{4957}(55,\cdot)\)
\(\chi_{4957}(81,\cdot)\)
\(\chi_{4957}(86,\cdot)\)
\(\chi_{4957}(90,\cdot)\)
\(\chi_{4957}(92,\cdot)\)
\(\chi_{4957}(100,\cdot)\)
\(\chi_{4957}(102,\cdot)\)
\(\chi_{4957}(107,\cdot)\)
\(\chi_{4957}(123,\cdot)\)
\(\chi_{4957}(133,\cdot)\)
\(\chi_{4957}(147,\cdot)\)
\(\chi_{4957}(156,\cdot)\)
\(\chi_{4957}(165,\cdot)\)
\(\chi_{4957}(181,\cdot)\)
\(\chi_{4957}(187,\cdot)\)
\(\chi_{4957}(236,\cdot)\)
\(\chi_{4957}(243,\cdot)\)
\(\chi_{4957}(244,\cdot)\)
\(\chi_{4957}(258,\cdot)\)
\(\chi_{4957}(262,\cdot)\)
\(\chi_{4957}(270,\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{382}{413}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4957 }(1070, a) \) |
\(1\) | \(1\) | \(e\left(\frac{382}{413}\right)\) | \(e\left(\frac{348}{413}\right)\) | \(e\left(\frac{351}{413}\right)\) | \(e\left(\frac{1}{413}\right)\) | \(e\left(\frac{317}{413}\right)\) | \(e\left(\frac{340}{413}\right)\) | \(e\left(\frac{320}{413}\right)\) | \(e\left(\frac{283}{413}\right)\) | \(e\left(\frac{383}{413}\right)\) | \(e\left(\frac{86}{413}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)