sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(4855, base_ring=CyclotomicField(1940))
M = H._module
chi = DirichletCharacter(H, M([485,1188]))
gp:[g,chi] = znchar(Mod(1197, 4855))
magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code
chi := DirichletCharacter("4855.1197");
| Modulus: | \(4855\) |
sage:chi.modulus()
gp:g[1][1]
magma:Modulus(chi);
|
| Conductor: | \(4855\) |
sage:chi.conductor()
gp:znconreyconductor(g,chi)
magma:Conductor(chi);
|
| Order: | \(1940\) |
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_{4855}(3,\cdot)\)
\(\chi_{4855}(12,\cdot)\)
\(\chi_{4855}(17,\cdot)\)
\(\chi_{4855}(22,\cdot)\)
\(\chi_{4855}(23,\cdot)\)
\(\chi_{4855}(27,\cdot)\)
\(\chi_{4855}(37,\cdot)\)
\(\chi_{4855}(47,\cdot)\)
\(\chi_{4855}(48,\cdot)\)
\(\chi_{4855}(57,\cdot)\)
\(\chi_{4855}(58,\cdot)\)
\(\chi_{4855}(62,\cdot)\)
\(\chi_{4855}(63,\cdot)\)
\(\chi_{4855}(68,\cdot)\)
\(\chi_{4855}(82,\cdot)\)
\(\chi_{4855}(83,\cdot)\)
\(\chi_{4855}(88,\cdot)\)
\(\chi_{4855}(92,\cdot)\)
\(\chi_{4855}(97,\cdot)\)
\(\chi_{4855}(103,\cdot)\)
\(\chi_{4855}(107,\cdot)\)
\(\chi_{4855}(108,\cdot)\)
\(\chi_{4855}(117,\cdot)\)
\(\chi_{4855}(118,\cdot)\)
\(\chi_{4855}(133,\cdot)\)
\(\chi_{4855}(142,\cdot)\)
\(\chi_{4855}(147,\cdot)\)
\(\chi_{4855}(148,\cdot)\)
\(\chi_{4855}(153,\cdot)\)
\(\chi_{4855}(173,\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 };
| Field of values: |
$\Q(\zeta_{1940})$ |
sage:CyclotomicField(chi.multiplicative_order())
gp:nfinit(polcyclo(charorder(g,chi)))
magma:CyclotomicField(Order(chi));
|
| Fixed field: |
Number field defined by a degree 1940 polynomial (not computed) |
sage:chi.fixed_field()
|
\((972,6)\) → \((i,e\left(\frac{297}{485}\right))\)
| \(a\) |
\(-1\) | \(1\) | \(2\) | \(3\) | \(4\) | \(6\) | \(7\) | \(8\) | \(9\) | \(11\) | \(12\) | \(13\) |
| \( \chi_{ 4855 }(1197, a) \) |
\(-1\) | \(1\) | \(e\left(\frac{105}{388}\right)\) | \(e\left(\frac{663}{1940}\right)\) | \(e\left(\frac{105}{194}\right)\) | \(e\left(\frac{297}{485}\right)\) | \(e\left(\frac{309}{388}\right)\) | \(e\left(\frac{315}{388}\right)\) | \(e\left(\frac{663}{970}\right)\) | \(e\left(\frac{371}{485}\right)\) | \(e\left(\frac{1713}{1940}\right)\) | \(e\left(\frac{39}{388}\right)\) |
sage:chi(x) # x integer
gp:chareval(g,chi,x) \\ x integer, value in Q/Z
magma:chi(x)