sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4229, base_ring=CyclotomicField(4228))
M = H._module
chi = DirichletCharacter(H, M([1761]))
gp:[g,chi] = znchar(Mod(1063, 4229))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4229.1063");
| Modulus: | \(4229\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4229\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(4228\) |
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_{4229}(2,\cdot)\)
\(\chi_{4229}(3,\cdot)\)
\(\chi_{4229}(8,\cdot)\)
\(\chi_{4229}(10,\cdot)\)
\(\chi_{4229}(12,\cdot)\)
\(\chi_{4229}(14,\cdot)\)
\(\chi_{4229}(15,\cdot)\)
\(\chi_{4229}(18,\cdot)\)
\(\chi_{4229}(21,\cdot)\)
\(\chi_{4229}(22,\cdot)\)
\(\chi_{4229}(23,\cdot)\)
\(\chi_{4229}(26,\cdot)\)
\(\chi_{4229}(27,\cdot)\)
\(\chi_{4229}(31,\cdot)\)
\(\chi_{4229}(32,\cdot)\)
\(\chi_{4229}(33,\cdot)\)
\(\chi_{4229}(34,\cdot)\)
\(\chi_{4229}(38,\cdot)\)
\(\chi_{4229}(39,\cdot)\)
\(\chi_{4229}(40,\cdot)\)
\(\chi_{4229}(41,\cdot)\)
\(\chi_{4229}(47,\cdot)\)
\(\chi_{4229}(48,\cdot)\)
\(\chi_{4229}(50,\cdot)\)
\(\chi_{4229}(51,\cdot)\)
\(\chi_{4229}(56,\cdot)\)
\(\chi_{4229}(57,\cdot)\)
\(\chi_{4229}(58,\cdot)\)
\(\chi_{4229}(59,\cdot)\)
\(\chi_{4229}(60,\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{1761}{4228}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4229 }(1063, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{1761}{4228}\right)\) | \(e\left(\frac{3637}{4228}\right)\) | \(e\left(\frac{1761}{2114}\right)\) | \(e\left(\frac{563}{2114}\right)\) | \(e\left(\frac{585}{2114}\right)\) | \(e\left(\frac{31}{1057}\right)\) | \(e\left(\frac{1055}{4228}\right)\) | \(e\left(\frac{1523}{2114}\right)\) | \(e\left(\frac{2887}{4228}\right)\) | \(e\left(\frac{1047}{1057}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)