I want a permutation to act on a set. For example: I want the permutation {2,1,3,5,4} to act on the set {2,3,4} by returning {1,3,5}. I need to do this in the same code that has functions that need Combinatorica.
I thought that maybe Orbits[pg,x] might work but I cannot understand the information in the help section.