![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(7056, base_ring=CyclotomicField(6))
M = H._module
chi = DirichletCharacter(H, M([0,0,3,1]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(7056, base_ring=CyclotomicField(6))
M = H._module
chi = DirichletCharacter(H, M([0,0,3,1]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(4049,7056))
        pari:[g,chi] = znchar(Mod(4049,7056))
         
     
    
  \(\chi_{7056}(4049,\cdot)\)
  \(\chi_{7056}(4625,\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 ]
         
     
    
 
\((6175,1765,785,4609)\) → \((1,1,-1,e\left(\frac{1}{6}\right))\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(5\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) | \(37\) | 
    
    
      | \( \chi_{ 7056 }(4049, a) \) | \(1\) | \(1\) | \(e\left(\frac{1}{3}\right)\) | \(e\left(\frac{1}{6}\right)\) | \(-1\) | \(e\left(\frac{2}{3}\right)\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{2}{3}\right)\) | \(-1\) | \(e\left(\frac{1}{6}\right)\) | \(e\left(\frac{1}{3}\right)\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)