sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(3121, base_ring=CyclotomicField(1560))
M = H._module
chi = DirichletCharacter(H, M([593]))
gp:[g,chi] = znchar(Mod(335, 3121))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("3121.335");
| Modulus: | \(3121\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(3121\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1560\) |
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_{3121}(3,\cdot)\)
\(\chi_{3121}(6,\cdot)\)
\(\chi_{3121}(15,\cdot)\)
\(\chi_{3121}(24,\cdot)\)
\(\chi_{3121}(26,\cdot)\)
\(\chi_{3121}(46,\cdot)\)
\(\chi_{3121}(48,\cdot)\)
\(\chi_{3121}(49,\cdot)\)
\(\chi_{3121}(52,\cdot)\)
\(\chi_{3121}(54,\cdot)\)
\(\chi_{3121}(60,\cdot)\)
\(\chi_{3121}(65,\cdot)\)
\(\chi_{3121}(108,\cdot)\)
\(\chi_{3121}(115,\cdot)\)
\(\chi_{3121}(117,\cdot)\)
\(\chi_{3121}(120,\cdot)\)
\(\chi_{3121}(123,\cdot)\)
\(\chi_{3121}(127,\cdot)\)
\(\chi_{3121}(129,\cdot)\)
\(\chi_{3121}(130,\cdot)\)
\(\chi_{3121}(134,\cdot)\)
\(\chi_{3121}(135,\cdot)\)
\(\chi_{3121}(150,\cdot)\)
\(\chi_{3121}(177,\cdot)\)
\(\chi_{3121}(192,\cdot)\)
\(\chi_{3121}(203,\cdot)\)
\(\chi_{3121}(208,\cdot)\)
\(\chi_{3121}(230,\cdot)\)
\(\chi_{3121}(237,\cdot)\)
\(\chi_{3121}(242,\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 };
\(7\) → \(e\left(\frac{593}{1560}\right)\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(5\) | \(6\) | \(7\) | \(8\) | \(9\) | \(10\) | \(11\) |
| \( \chi_{ 3121 }(335, a) \) |
\(1\) | \(1\) | \(e\left(\frac{49}{78}\right)\) | \(e\left(\frac{373}{780}\right)\) | \(e\left(\frac{10}{39}\right)\) | \(e\left(\frac{2}{39}\right)\) | \(e\left(\frac{83}{780}\right)\) | \(e\left(\frac{593}{1560}\right)\) | \(e\left(\frac{23}{26}\right)\) | \(e\left(\frac{373}{390}\right)\) | \(e\left(\frac{53}{78}\right)\) | \(e\left(\frac{91}{120}\right)\) |
sage:chi(x)
gp:chareval(g,chi,x) \\\\ x integer, value in Q/Z'
magma:chi(x)