sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5077, base_ring=CyclotomicField(2538))
M = H._module
chi = DirichletCharacter(H, M([2203]))
gp:[g,chi] = znchar(Mod(1005, 5077))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("5077.1005");
| Modulus: | \(5077\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(5077\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2538\) |
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_{5077}(4,\cdot)\)
\(\chi_{5077}(10,\cdot)\)
\(\chi_{5077}(19,\cdot)\)
\(\chi_{5077}(34,\cdot)\)
\(\chi_{5077}(36,\cdot)\)
\(\chi_{5077}(47,\cdot)\)
\(\chi_{5077}(48,\cdot)\)
\(\chi_{5077}(55,\cdot)\)
\(\chi_{5077}(58,\cdot)\)
\(\chi_{5077}(61,\cdot)\)
\(\chi_{5077}(70,\cdot)\)
\(\chi_{5077}(71,\cdot)\)
\(\chi_{5077}(78,\cdot)\)
\(\chi_{5077}(79,\cdot)\)
\(\chi_{5077}(85,\cdot)\)
\(\chi_{5077}(90,\cdot)\)
\(\chi_{5077}(103,\cdot)\)
\(\chi_{5077}(121,\cdot)\)
\(\chi_{5077}(137,\cdot)\)
\(\chi_{5077}(138,\cdot)\)
\(\chi_{5077}(146,\cdot)\)
\(\chi_{5077}(147,\cdot)\)
\(\chi_{5077}(154,\cdot)\)
\(\chi_{5077}(160,\cdot)\)
\(\chi_{5077}(166,\cdot)\)
\(\chi_{5077}(171,\cdot)\)
\(\chi_{5077}(173,\cdot)\)
\(\chi_{5077}(175,\cdot)\)
\(\chi_{5077}(177,\cdot)\)
\(\chi_{5077}(186,\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{2203}{2538}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 5077 }(1005, a) \) |
\(1\) | \(1\) | \(e\left(\frac{2203}{2538}\right)\) | \(e\left(\frac{103}{423}\right)\) | \(e\left(\frac{934}{1269}\right)\) | \(e\left(\frac{75}{94}\right)\) | \(e\left(\frac{283}{2538}\right)\) | \(e\left(\frac{1148}{1269}\right)\) | \(e\left(\frac{511}{846}\right)\) | \(e\left(\frac{206}{423}\right)\) | \(e\left(\frac{845}{1269}\right)\) | \(e\left(\frac{2261}{2538}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)