![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(34650, base_ring=CyclotomicField(2))
M = H._module
chi = DirichletCharacter(H, M([0,0,0,0]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(34650, base_ring=CyclotomicField(2))
M = H._module
chi = DirichletCharacter(H, M([0,0,0,0]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(1,34650))
        pari:[g,chi] = znchar(Mod(1,34650))
         
     
    
  \(\chi_{34650}(1,\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 ]
         
     
    
 
\((15401,22177,9901,9451)\) → \((1,1,1,1)\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(13\) | \(17\) | \(19\) | \(23\) | \(29\) | \(31\) | \(37\) | \(41\) | \(43\) | \(47\) | 
    
    
      | \( \chi_{ 34650 }(1, a) \) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | \(1\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)