sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4447, base_ring=CyclotomicField(4446))
M = H._module
chi = DirichletCharacter(H, M([2980]))
gp:[g,chi] = znchar(Mod(1042, 4447))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4447.1042");
| Modulus: | \(4447\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4447\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(2223\) |
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_{4447}(2,\cdot)\)
\(\chi_{4447}(4,\cdot)\)
\(\chi_{4447}(9,\cdot)\)
\(\chi_{4447}(15,\cdot)\)
\(\chi_{4447}(16,\cdot)\)
\(\chi_{4447}(26,\cdot)\)
\(\chi_{4447}(32,\cdot)\)
\(\chi_{4447}(35,\cdot)\)
\(\chi_{4447}(36,\cdot)\)
\(\chi_{4447}(37,\cdot)\)
\(\chi_{4447}(42,\cdot)\)
\(\chi_{4447}(49,\cdot)\)
\(\chi_{4447}(50,\cdot)\)
\(\chi_{4447}(51,\cdot)\)
\(\chi_{4447}(52,\cdot)\)
\(\chi_{4447}(55,\cdot)\)
\(\chi_{4447}(57,\cdot)\)
\(\chi_{4447}(66,\cdot)\)
\(\chi_{4447}(69,\cdot)\)
\(\chi_{4447}(74,\cdot)\)
\(\chi_{4447}(77,\cdot)\)
\(\chi_{4447}(81,\cdot)\)
\(\chi_{4447}(85,\cdot)\)
\(\chi_{4447}(87,\cdot)\)
\(\chi_{4447}(93,\cdot)\)
\(\chi_{4447}(94,\cdot)\)
\(\chi_{4447}(98,\cdot)\)
\(\chi_{4447}(100,\cdot)\)
\(\chi_{4447}(107,\cdot)\)
\(\chi_{4447}(109,\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{1490}{2223}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4447 }(1042, a) \) |
\(1\) | \(1\) | \(e\left(\frac{989}{2223}\right)\) | \(e\left(\frac{1490}{2223}\right)\) | \(e\left(\frac{1978}{2223}\right)\) | \(e\left(\frac{181}{247}\right)\) | \(e\left(\frac{256}{2223}\right)\) | \(e\left(\frac{1654}{2223}\right)\) | \(e\left(\frac{248}{741}\right)\) | \(e\left(\frac{757}{2223}\right)\) | \(e\left(\frac{395}{2223}\right)\) | \(e\left(\frac{2047}{2223}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)