![Copy content]() sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5328, base_ring=CyclotomicField(12))
M = H._module
chi = DirichletCharacter(H, M([0,0,4,7]))
        sage:from sage.modular.dirichlet import DirichletCharacter
H = DirichletGroup(5328, base_ring=CyclotomicField(12))
M = H._module
chi = DirichletCharacter(H, M([0,0,4,7]))
         
     
    
    
        ![Copy content]() pari:[g,chi] = znchar(Mod(769,5328))
        pari:[g,chi] = znchar(Mod(769,5328))
         
     
    
  \(\chi_{5328}(97,\cdot)\)
  \(\chi_{5328}(193,\cdot)\)
  \(\chi_{5328}(769,\cdot)\)
  \(\chi_{5328}(4417,\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 ]
         
     
    
 
\((1999,1333,2369,1297)\) → \((1,1,e\left(\frac{1}{3}\right),e\left(\frac{7}{12}\right))\)
  
    
      
        | \(a\) | \(-1\) | \(1\) | \(5\) | \(7\) | \(11\) | \(13\) | \(17\) | \(19\) | \(23\) | \(25\) | \(29\) | \(31\) | 
    
    
      | \( \chi_{ 5328 }(769, a) \) | \(-1\) | \(1\) | \(e\left(\frac{1}{12}\right)\) | \(1\) | \(e\left(\frac{5}{6}\right)\) | \(e\left(\frac{1}{12}\right)\) | \(e\left(\frac{1}{12}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{5}{12}\right)\) | \(e\left(\frac{1}{6}\right)\) | \(e\left(\frac{7}{12}\right)\) | \(e\left(\frac{11}{12}\right)\) | 
  
 
    
        ![Copy content]() sage:chi.jacobi_sum(n)
        sage:chi.jacobi_sum(n)