![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2032, base_ring=CyclotomicField(36))
M = H._module
chi = DirichletCharacter(H, M([18,27,14]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(2032, base_ring=CyclotomicField(36))
M = H._module
chi = DirichletCharacter(H, M([18,27,14]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(1091,2032))
        pari:[g,chi] = znchar(Mod(1091,2032))
         
     
    
  
   | Modulus: | \(2032\) |  | 
   | Conductor: | \(2032\) | 
        ![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_{2032}(59,\cdot)\)
  \(\chi_{2032}(75,\cdot)\)
  \(\chi_{2032}(155,\cdot)\)
  \(\chi_{2032}(659,\cdot)\)
  \(\chi_{2032}(867,\cdot)\)
  \(\chi_{2032}(979,\cdot)\)
  \(\chi_{2032}(1075,\cdot)\)
  \(\chi_{2032}(1091,\cdot)\)
  \(\chi_{2032}(1171,\cdot)\)
  \(\chi_{2032}(1675,\cdot)\)
  \(\chi_{2032}(1883,\cdot)\)
  \(\chi_{2032}(1995,\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 ]
         
     
    
 
\((255,1525,257)\) → \((-1,-i,e\left(\frac{7}{18}\right))\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(3\) | \(5\) | \(7\) | \(9\) | \(11\) | \(13\) | \(15\) | \(17\) | \(19\) | \(21\) | 
    
    
      | \( \chi_{ 2032 }(1091, a) \) | \(1\) | \(1\) | \(e\left(\frac{5}{36}\right)\) | \(e\left(\frac{7}{12}\right)\) | \(e\left(\frac{13}{18}\right)\) | \(e\left(\frac{5}{18}\right)\) | \(e\left(\frac{25}{36}\right)\) | \(e\left(\frac{29}{36}\right)\) | \(e\left(\frac{13}{18}\right)\) | \(e\left(\frac{7}{9}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{31}{36}\right)\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)