title: Permutation vectors with unknowns in Sage
body: <p>I'm trying to do some work with Sage, and I can't understand how to do the following.</p>
  
  <p>I've written some little code:</p>
  
  <pre><code>def ElementDr1(r):
      G = SymmetricGroup(r)
      E = G.list()
      O = G.order()
      coeff = ZeroCoeff(O)
  
      for i in range(0,O):
          if E[i] == G("(1,r)"): 
              coeff [i]=1
          if E[i] == G("(2,3)*(1,r)"):
              coeff [i]=1
          if E[i] == G("(1,3)*(1,r)"):
              coeff [i]=-1
      return coeff
  </code></pre>
  
  <p>and Sage says that the permutation vector <code>(1,r)</code> is invalid. I'm sure there must be a way to write permutation vectors with unknowns, but I can't find what this method is by looking at the Sage help. </p>