sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(19961, base_ring=CyclotomicField(19960))
M = H._module
chi = DirichletCharacter(H, M([13003]))
gp:[g,chi] = znchar(Mod(21, 19961))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("19961.21");
| Modulus: | \(19961\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(19961\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(19960\) |
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_{19961}(6,\cdot)\)
\(\chi_{19961}(11,\cdot)\)
\(\chi_{19961}(12,\cdot)\)
\(\chi_{19961}(13,\cdot)\)
\(\chi_{19961}(15,\cdot)\)
\(\chi_{19961}(17,\cdot)\)
\(\chi_{19961}(21,\cdot)\)
\(\chi_{19961}(22,\cdot)\)
\(\chi_{19961}(23,\cdot)\)
\(\chi_{19961}(24,\cdot)\)
\(\chi_{19961}(30,\cdot)\)
\(\chi_{19961}(34,\cdot)\)
\(\chi_{19961}(37,\cdot)\)
\(\chi_{19961}(41,\cdot)\)
\(\chi_{19961}(42,\cdot)\)
\(\chi_{19961}(44,\cdot)\)
\(\chi_{19961}(48,\cdot)\)
\(\chi_{19961}(52,\cdot)\)
\(\chi_{19961}(53,\cdot)\)
\(\chi_{19961}(54,\cdot)\)
\(\chi_{19961}(55,\cdot)\)
\(\chi_{19961}(57,\cdot)\)
\(\chi_{19961}(60,\cdot)\)
\(\chi_{19961}(68,\cdot)\)
\(\chi_{19961}(74,\cdot)\)
\(\chi_{19961}(75,\cdot)\)
\(\chi_{19961}(79,\cdot)\)
\(\chi_{19961}(82,\cdot)\)
\(\chi_{19961}(85,\cdot)\)
\(\chi_{19961}(91,\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 };
\(6\) → \(e\left(\frac{13003}{19960}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 19961 }(21, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{8059}{9980}\right)\) | \(e\left(\frac{3369}{3992}\right)\) | \(e\left(\frac{3069}{4990}\right)\) | \(e\left(\frac{1056}{2495}\right)\) | \(e\left(\frac{13003}{19960}\right)\) | \(e\left(\frac{4981}{4990}\right)\) | \(e\left(\frac{4217}{9980}\right)\) | \(e\left(\frac{1373}{1996}\right)\) | \(e\left(\frac{2303}{9980}\right)\) | \(e\left(\frac{15621}{19960}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)