sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1279, base_ring=CyclotomicField(426))
M = H._module
chi = DirichletCharacter(H, M([421]))
gp:[g,chi] = znchar(Mod(178, 1279))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("1279.178");
| Modulus: | \(1279\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(1279\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(426\) |
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_{1279}(11,\cdot)\)
\(\chi_{1279}(12,\cdot)\)
\(\chi_{1279}(19,\cdot)\)
\(\chi_{1279}(27,\cdot)\)
\(\chi_{1279}(30,\cdot)\)
\(\chi_{1279}(42,\cdot)\)
\(\chi_{1279}(58,\cdot)\)
\(\chi_{1279}(71,\cdot)\)
\(\chi_{1279}(75,\cdot)\)
\(\chi_{1279}(88,\cdot)\)
\(\chi_{1279}(96,\cdot)\)
\(\chi_{1279}(105,\cdot)\)
\(\chi_{1279}(111,\cdot)\)
\(\chi_{1279}(124,\cdot)\)
\(\chi_{1279}(134,\cdot)\)
\(\chi_{1279}(137,\cdot)\)
\(\chi_{1279}(145,\cdot)\)
\(\chi_{1279}(147,\cdot)\)
\(\chi_{1279}(149,\cdot)\)
\(\chi_{1279}(177,\cdot)\)
\(\chi_{1279}(178,\cdot)\)
\(\chi_{1279}(198,\cdot)\)
\(\chi_{1279}(202,\cdot)\)
\(\chi_{1279}(203,\cdot)\)
\(\chi_{1279}(216,\cdot)\)
\(\chi_{1279}(220,\cdot)\)
\(\chi_{1279}(221,\cdot)\)
\(\chi_{1279}(240,\cdot)\)
\(\chi_{1279}(262,\cdot)\)
\(\chi_{1279}(279,\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{421}{426}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 1279 }(178, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{98}{213}\right)\) | \(e\left(\frac{421}{426}\right)\) | \(e\left(\frac{196}{213}\right)\) | \(e\left(\frac{68}{213}\right)\) | \(e\left(\frac{191}{426}\right)\) | \(e\left(\frac{137}{213}\right)\) | \(e\left(\frac{27}{71}\right)\) | \(e\left(\frac{208}{213}\right)\) | \(e\left(\frac{166}{213}\right)\) | \(e\left(\frac{47}{142}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)