sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4013, base_ring=CyclotomicField(4012))
M = H._module
chi = DirichletCharacter(H, M([1745]))
gp:[g,chi] = znchar(Mod(3, 4013))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4013.3");
| Modulus: | \(4013\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4013\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(4012\) |
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_{4013}(2,\cdot)\)
\(\chi_{4013}(3,\cdot)\)
\(\chi_{4013}(5,\cdot)\)
\(\chi_{4013}(8,\cdot)\)
\(\chi_{4013}(12,\cdot)\)
\(\chi_{4013}(14,\cdot)\)
\(\chi_{4013}(18,\cdot)\)
\(\chi_{4013}(20,\cdot)\)
\(\chi_{4013}(21,\cdot)\)
\(\chi_{4013}(22,\cdot)\)
\(\chi_{4013}(23,\cdot)\)
\(\chi_{4013}(26,\cdot)\)
\(\chi_{4013}(27,\cdot)\)
\(\chi_{4013}(29,\cdot)\)
\(\chi_{4013}(30,\cdot)\)
\(\chi_{4013}(32,\cdot)\)
\(\chi_{4013}(33,\cdot)\)
\(\chi_{4013}(34,\cdot)\)
\(\chi_{4013}(35,\cdot)\)
\(\chi_{4013}(37,\cdot)\)
\(\chi_{4013}(38,\cdot)\)
\(\chi_{4013}(39,\cdot)\)
\(\chi_{4013}(45,\cdot)\)
\(\chi_{4013}(48,\cdot)\)
\(\chi_{4013}(50,\cdot)\)
\(\chi_{4013}(55,\cdot)\)
\(\chi_{4013}(56,\cdot)\)
\(\chi_{4013}(57,\cdot)\)
\(\chi_{4013}(62,\cdot)\)
\(\chi_{4013}(65,\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{1745}{4012}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 4013 }(3, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{1745}{4012}\right)\) | \(e\left(\frac{3929}{4012}\right)\) | \(e\left(\frac{1745}{2006}\right)\) | \(e\left(\frac{2857}{4012}\right)\) | \(e\left(\frac{831}{2006}\right)\) | \(e\left(\frac{77}{1003}\right)\) | \(e\left(\frac{1223}{4012}\right)\) | \(e\left(\frac{1923}{2006}\right)\) | \(e\left(\frac{5}{34}\right)\) | \(e\left(\frac{703}{1003}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)