GroupElements
GroupElements[group] returns the list of all elements of group.
GroupElements[group, {r1, …, rk}]returns the elements numberedr1, …, rkingroupin the standard order.
Examples
GroupElements[SymmetricGroup[3]]GroupElements[CyclicGroup[4], {1, 3}]Please visit the official Wolfram Language Reference for more details.