sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1373, base_ring=CyclotomicField(686))
M = H._module
chi = DirichletCharacter(H, M([43]))
gp:[g,chi] = znchar(Mod(87, 1373))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1373.87");
| Modulus: | \(1373\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1373\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(686\) |
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_{1373}(4,\cdot)\)
\(\chi_{1373}(9,\cdot)\)
\(\chi_{1373}(10,\cdot)\)
\(\chi_{1373}(11,\cdot)\)
\(\chi_{1373}(17,\cdot)\)
\(\chi_{1373}(19,\cdot)\)
\(\chi_{1373}(23,\cdot)\)
\(\chi_{1373}(24,\cdot)\)
\(\chi_{1373}(25,\cdot)\)
\(\chi_{1373}(26,\cdot)\)
\(\chi_{1373}(28,\cdot)\)
\(\chi_{1373}(37,\cdot)\)
\(\chi_{1373}(43,\cdot)\)
\(\chi_{1373}(54,\cdot)\)
\(\chi_{1373}(60,\cdot)\)
\(\chi_{1373}(63,\cdot)\)
\(\chi_{1373}(64,\cdot)\)
\(\chi_{1373}(65,\cdot)\)
\(\chi_{1373}(66,\cdot)\)
\(\chi_{1373}(70,\cdot)\)
\(\chi_{1373}(77,\cdot)\)
\(\chi_{1373}(87,\cdot)\)
\(\chi_{1373}(94,\cdot)\)
\(\chi_{1373}(102,\cdot)\)
\(\chi_{1373}(107,\cdot)\)
\(\chi_{1373}(114,\cdot)\)
\(\chi_{1373}(119,\cdot)\)
\(\chi_{1373}(124,\cdot)\)
\(\chi_{1373}(131,\cdot)\)
\(\chi_{1373}(133,\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{43}{686}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1373 }(87, a) \) |
\(1\) | \(1\) | \(e\left(\frac{43}{686}\right)\) | \(e\left(\frac{591}{686}\right)\) | \(e\left(\frac{43}{343}\right)\) | \(e\left(\frac{379}{686}\right)\) | \(e\left(\frac{317}{343}\right)\) | \(e\left(\frac{100}{343}\right)\) | \(e\left(\frac{129}{686}\right)\) | \(e\left(\frac{248}{343}\right)\) | \(e\left(\frac{211}{343}\right)\) | \(e\left(\frac{139}{343}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)