![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5616, base_ring=CyclotomicField(36))
M = H._module
chi = DirichletCharacter(H, M([18,9,16,15]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5616, base_ring=CyclotomicField(36))
M = H._module
chi = DirichletCharacter(H, M([18,9,16,15]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(1579,5616))
        pari:[g,chi] = znchar(Mod(1579,5616))
         
     
    
  
   | Modulus: | \(5616\) |  | 
   | Conductor: | \(5616\) | 
        ![Copy content]() sage:chi.conductor()   
        ![Copy content]() pari:znconreyconductor(g,chi)   | 
   | Order: | \(36\) | 
        ![Copy content]() sage:chi.multiplicative_order()   
        ![Copy content]() pari:charorder(g,chi)   | 
   | Real: | no | 
   | Primitive: | yes | 
        ![Copy content]() sage:chi.is_primitive()   
        ![Copy content]() pari:#znconreyconductor(g,chi)==1   | 
     | Minimal: | yes | 
       | Parity: | even | 
        ![Copy content]() sage:chi.is_odd()   
        ![Copy content]() pari:zncharisodd(g,chi)   | 
   
  \(\chi_{5616}(115,\cdot)\)
  \(\chi_{5616}(787,\cdot)\)
  \(\chi_{5616}(1579,\cdot)\)
  \(\chi_{5616}(1627,\cdot)\)
  \(\chi_{5616}(1987,\cdot)\)
  \(\chi_{5616}(2659,\cdot)\)
  \(\chi_{5616}(3451,\cdot)\)
  \(\chi_{5616}(3499,\cdot)\)
  \(\chi_{5616}(3859,\cdot)\)
  \(\chi_{5616}(4531,\cdot)\)
  \(\chi_{5616}(5323,\cdot)\)
  \(\chi_{5616}(5371,\cdot)\)
    
        ![Copy content]() sage:chi.galois_orbit()
        sage:chi.galois_orbit()
         
     
    
    
        ![Copy content]() pari:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
        pari:order = charorder(g,chi)
[ charpow(g,chi, k % order) | k <-[1..order-1], gcd(k,order)==1 ]
         
     
    
 
\((703,4213,2081,3889)\) → \((-1,i,e\left(\frac{4}{9}\right),e\left(\frac{5}{12}\right))\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(5\) | \(7\) | \(11\) | \(17\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) | \(35\) | 
    
    
      | \( \chi_{ 5616 }(1579, a) \) | \(1\) | \(1\) | \(e\left(\frac{2}{9}\right)\) | \(e\left(\frac{25}{36}\right)\) | \(e\left(\frac{4}{9}\right)\) | \(-1\) | \(e\left(\frac{2}{3}\right)\) | \(e\left(\frac{1}{18}\right)\) | \(e\left(\frac{4}{9}\right)\) | \(e\left(\frac{31}{36}\right)\) | \(e\left(\frac{5}{36}\right)\) | \(e\left(\frac{11}{12}\right)\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)