![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1200, base_ring=CyclotomicField(4))
M = H._module
chi = DirichletCharacter(H, M([0,3,2,0]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(1200, base_ring=CyclotomicField(4))
M = H._module
chi = DirichletCharacter(H, M([0,3,2,0]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(701,1200))
        pari:[g,chi] = znchar(Mod(701,1200))
         
     
    
  \(\chi_{1200}(101,\cdot)\)
  \(\chi_{1200}(701,\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 ]
         
     
    
 
\((751,901,401,577)\) → \((1,-i,-1,1)\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(7\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(29\) | \(31\) | \(37\) | \(41\) | 
    
    
      | \( \chi_{ 1200 }(701, a) \) | \(-1\) | \(1\) | \(-1\) | \(i\) | \(i\) | \(-1\) | \(i\) | \(1\) | \(-i\) | \(1\) | \(-i\) | \(1\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)