Show commands: Magma / Pari/GP / SageMath
Copy content comment:Define the Dirichlet character
 
Copy content sage:from sage.modular.dirichlet import DirichletCharacter H = DirichletGroup(2940, base_ring=CyclotomicField(42)) M = H._module chi = DirichletCharacter(H, M([21,21,21,23]))
 
Copy content gp:[g,chi] = znchar(Mod(1559, 2940))
 
Copy content magma:// Please install CHIMP (https://github.com/edgarcosta/CHIMP) if you want to run this code chi := DirichletCharacter("2940.1559");
 

Basic properties

Modulus: \(2940\)
Copy content comment:Modulus
 
Copy content sage:chi.modulus()
 
Copy content gp:g[1][1]
 
Copy content magma:Modulus(chi);
 
Conductor: \(2940\)
Copy content comment:Conductor
 
Copy content sage:chi.conductor()
 
Copy content gp:znconreyconductor(g,chi)
 
Copy content magma:Conductor(chi);
 
Order: \(42\)
Copy content comment:Order
 
Copy content sage:chi.multiplicative_order()
 
Copy content gp:charorder(g,chi)
 
Copy content magma:Order(chi);
 
Real: no
Copy content comment:Whether the character is real
 
Copy content sage:chi.multiplicative_order() <= 2
 
Copy content gp:charorder(g,chi) <= 2
 
Copy content magma:Order(chi) le 2;
 
Primitive: yes
Copy content comment:If the character is primitive
 
Copy content sage:chi.is_primitive()
 
Copy content gp:#znconreyconductor(g,chi)==1
 
Copy content magma:IsPrimitive(chi);
 
Minimal: yes
Parity: odd
Copy content comment:Parity
 
Copy content sage:chi.is_odd()
 
Copy content gp:zncharisodd(g,chi)
 
Copy content magma:IsOdd(chi);
 

Galois orbit 2940.dd

\(\chi_{2940}(59,\cdot)\) \(\chi_{2940}(299,\cdot)\) \(\chi_{2940}(479,\cdot)\) \(\chi_{2940}(719,\cdot)\) \(\chi_{2940}(899,\cdot)\) \(\chi_{2940}(1139,\cdot)\) \(\chi_{2940}(1319,\cdot)\) \(\chi_{2940}(1559,\cdot)\) \(\chi_{2940}(1739,\cdot)\) \(\chi_{2940}(2159,\cdot)\) \(\chi_{2940}(2399,\cdot)\) \(\chi_{2940}(2819,\cdot)\)

Copy content comment:Galois orbit
 
Copy content sage:chi.galois_orbit()
 
Copy content gp:order = charorder(g,chi) [ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
 
Copy content magma:order := Order(chi); { chi^k : k in [1..order-1] | GCD(k,order) eq 1 };
 

Related number fields

Field of values: \(\Q(\zeta_{21})\)
Copy content comment:Field of values of chi
 
Copy content sage:CyclotomicField(chi.multiplicative_order())
 
Copy content gp:nfinit(polcyclo(charorder(g,chi)))
 
Copy content magma:CyclotomicField(Order(chi));
 
Fixed field: 42.0.2592539244029945746847724383361996244930814995962639297850287414233958249966600192000000000000000000000.1
Copy content comment:Fixed field
 
Copy content sage:chi.fixed_field()
 

Values on generators

\((1471,1961,1177,1081)\) → \((-1,-1,-1,e\left(\frac{23}{42}\right))\)

First values

\(a\) \(-1\)\(1\)\(11\)\(13\)\(17\)\(19\)\(23\)\(29\)\(31\)\(37\)\(41\)\(43\)
\( \chi_{ 2940 }(1559, a) \) \(-1\)\(1\)\(e\left(\frac{19}{21}\right)\)\(e\left(\frac{4}{7}\right)\)\(e\left(\frac{29}{42}\right)\)\(e\left(\frac{2}{3}\right)\)\(e\left(\frac{13}{42}\right)\)\(e\left(\frac{5}{14}\right)\)\(e\left(\frac{1}{3}\right)\)\(e\left(\frac{1}{42}\right)\)\(e\left(\frac{5}{7}\right)\)\(e\left(\frac{2}{7}\right)\)
Copy content comment:Value of chi at x
 
Copy content sage:chi(x) # x integer
 
Copy content gp:chareval(g,chi,x) \\ x integer, value in Q/Z
 
Copy content magma:chi(x)
 
\( \chi_{ 2940 }(1559,a) \;\) at \(\;a = \) e.g. 2