![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(8550, base_ring=CyclotomicField(6))
M = H._module
chi = DirichletCharacter(H, M([1,0,0]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(8550, base_ring=CyclotomicField(6))
M = H._module
chi = DirichletCharacter(H, M([1,0,0]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(1901,8550))
        pari:[g,chi] = znchar(Mod(1901,8550))
         
     
    
  \(\chi_{8550}(1901,\cdot)\)
  \(\chi_{8550}(7601,\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 ]
         
     
    
 
\((1901,1027,1351)\) → \((e\left(\frac{1}{6}\right),1,1)\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(7\) | \(11\) | \(13\) | \(17\) | \(23\) | \(29\) | \(31\) | \(37\) | \(41\) | \(43\) | 
    
    
      | \( \chi_{ 8550 }(1901, a) \) | \(-1\) | \(1\) | \(e\left(\frac{2}{3}\right)\) | \(e\left(\frac{1}{6}\right)\) | \(e\left(\frac{1}{3}\right)\) | \(-1\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{1}{6}\right)\) | \(e\left(\frac{1}{3}\right)\) | \(1\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{2}{3}\right)\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)