I am new to Singular, and what I want to do is to generate all primary and secondary invariants of a polynomial within some total degree, which is symmetrized under a known group. For instance, v=f(r12,r13,r23), and the group is s3, whose elements are just the same as in the permutation group of S3. My script is following as: