sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2381, base_ring=CyclotomicField(476))
M = H._module
chi = DirichletCharacter(H, M([181]))
gp:[g,chi] = znchar(Mod(2, 2381))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("2381.2");
| Modulus: | \(2381\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(2381\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(476\) |
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_{2381}(2,\cdot)\)
\(\chi_{2381}(8,\cdot)\)
\(\chi_{2381}(10,\cdot)\)
\(\chi_{2381}(14,\cdot)\)
\(\chi_{2381}(32,\cdot)\)
\(\chi_{2381}(34,\cdot)\)
\(\chi_{2381}(40,\cdot)\)
\(\chi_{2381}(50,\cdot)\)
\(\chi_{2381}(56,\cdot)\)
\(\chi_{2381}(70,\cdot)\)
\(\chi_{2381}(98,\cdot)\)
\(\chi_{2381}(136,\cdot)\)
\(\chi_{2381}(143,\cdot)\)
\(\chi_{2381}(164,\cdot)\)
\(\chi_{2381}(170,\cdot)\)
\(\chi_{2381}(179,\cdot)\)
\(\chi_{2381}(205,\cdot)\)
\(\chi_{2381}(223,\cdot)\)
\(\chi_{2381}(224,\cdot)\)
\(\chi_{2381}(238,\cdot)\)
\(\chi_{2381}(243,\cdot)\)
\(\chi_{2381}(267,\cdot)\)
\(\chi_{2381}(276,\cdot)\)
\(\chi_{2381}(280,\cdot)\)
\(\chi_{2381}(282,\cdot)\)
\(\chi_{2381}(287,\cdot)\)
\(\chi_{2381}(297,\cdot)\)
\(\chi_{2381}(333,\cdot)\)
\(\chi_{2381}(339,\cdot)\)
\(\chi_{2381}(345,\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{181}{476}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 2381 }(2, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{61}{476}\right)\) | \(e\left(\frac{181}{476}\right)\) | \(e\left(\frac{61}{238}\right)\) | \(e\left(\frac{47}{238}\right)\) | \(e\left(\frac{121}{238}\right)\) | \(e\left(\frac{27}{238}\right)\) | \(e\left(\frac{183}{476}\right)\) | \(e\left(\frac{181}{238}\right)\) | \(e\left(\frac{155}{476}\right)\) | \(e\left(\frac{41}{238}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)