sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1849, base_ring=CyclotomicField(258))
M = H._module
chi = DirichletCharacter(H, M([136]))
gp:[g,chi] = znchar(Mod(178, 1849))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1849.178");
| Modulus: | \(1849\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1849\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(129\) |
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_{1849}(6,\cdot)\)
\(\chi_{1849}(36,\cdot)\)
\(\chi_{1849}(49,\cdot)\)
\(\chi_{1849}(79,\cdot)\)
\(\chi_{1849}(92,\cdot)\)
\(\chi_{1849}(122,\cdot)\)
\(\chi_{1849}(135,\cdot)\)
\(\chi_{1849}(165,\cdot)\)
\(\chi_{1849}(178,\cdot)\)
\(\chi_{1849}(208,\cdot)\)
\(\chi_{1849}(221,\cdot)\)
\(\chi_{1849}(251,\cdot)\)
\(\chi_{1849}(264,\cdot)\)
\(\chi_{1849}(294,\cdot)\)
\(\chi_{1849}(307,\cdot)\)
\(\chi_{1849}(337,\cdot)\)
\(\chi_{1849}(350,\cdot)\)
\(\chi_{1849}(380,\cdot)\)
\(\chi_{1849}(393,\cdot)\)
\(\chi_{1849}(436,\cdot)\)
\(\chi_{1849}(466,\cdot)\)
\(\chi_{1849}(479,\cdot)\)
\(\chi_{1849}(509,\cdot)\)
\(\chi_{1849}(522,\cdot)\)
\(\chi_{1849}(552,\cdot)\)
\(\chi_{1849}(565,\cdot)\)
\(\chi_{1849}(595,\cdot)\)
\(\chi_{1849}(608,\cdot)\)
\(\chi_{1849}(638,\cdot)\)
\(\chi_{1849}(651,\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 };
\(3\) → \(e\left(\frac{68}{129}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1849 }(178, a) \) |
\(1\) | \(1\) | \(e\left(\frac{11}{43}\right)\) | \(e\left(\frac{68}{129}\right)\) | \(e\left(\frac{22}{43}\right)\) | \(e\left(\frac{95}{129}\right)\) | \(e\left(\frac{101}{129}\right)\) | \(e\left(\frac{19}{129}\right)\) | \(e\left(\frac{33}{43}\right)\) | \(e\left(\frac{7}{129}\right)\) | \(e\left(\frac{128}{129}\right)\) | \(e\left(\frac{24}{43}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)