sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1151, base_ring=CyclotomicField(1150))
M = H._module
chi = DirichletCharacter(H, M([812]))
gp:[g,chi] = znchar(Mod(44, 1151))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1151.44");
| Modulus: | \(1151\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1151\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(575\) |
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_{1151}(2,\cdot)\)
\(\chi_{1151}(3,\cdot)\)
\(\chi_{1151}(4,\cdot)\)
\(\chi_{1151}(5,\cdot)\)
\(\chi_{1151}(8,\cdot)\)
\(\chi_{1151}(9,\cdot)\)
\(\chi_{1151}(10,\cdot)\)
\(\chi_{1151}(11,\cdot)\)
\(\chi_{1151}(12,\cdot)\)
\(\chi_{1151}(14,\cdot)\)
\(\chi_{1151}(16,\cdot)\)
\(\chi_{1151}(18,\cdot)\)
\(\chi_{1151}(20,\cdot)\)
\(\chi_{1151}(21,\cdot)\)
\(\chi_{1151}(22,\cdot)\)
\(\chi_{1151}(24,\cdot)\)
\(\chi_{1151}(25,\cdot)\)
\(\chi_{1151}(27,\cdot)\)
\(\chi_{1151}(28,\cdot)\)
\(\chi_{1151}(29,\cdot)\)
\(\chi_{1151}(30,\cdot)\)
\(\chi_{1151}(33,\cdot)\)
\(\chi_{1151}(35,\cdot)\)
\(\chi_{1151}(37,\cdot)\)
\(\chi_{1151}(40,\cdot)\)
\(\chi_{1151}(44,\cdot)\)
\(\chi_{1151}(45,\cdot)\)
\(\chi_{1151}(48,\cdot)\)
\(\chi_{1151}(50,\cdot)\)
\(\chi_{1151}(53,\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 };
\(17\) → \(e\left(\frac{406}{575}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1151 }(44, a) \) |
\(1\) | \(1\) | \(e\left(\frac{118}{575}\right)\) | \(e\left(\frac{162}{575}\right)\) | \(e\left(\frac{236}{575}\right)\) | \(e\left(\frac{473}{575}\right)\) | \(e\left(\frac{56}{115}\right)\) | \(e\left(\frac{43}{115}\right)\) | \(e\left(\frac{354}{575}\right)\) | \(e\left(\frac{324}{575}\right)\) | \(e\left(\frac{16}{575}\right)\) | \(e\left(\frac{536}{575}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)