This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

GroupOrder

GroupOrder[group]
returns the number of elements of group.
  • For permutation groups, the order is computed by constructing a strong generating set representation of the group.
Order of a group generated by two permutations:
Order of a group generated by two permutations:
In[1]:=
Click for copyable input
Out[1]=
Order of a group defined by generators:
Order of a named group:
The identity group has size 1, even if we describe it with no generators:
Compare orders of randomly generated permutation groups of increasing support with the symmetric group:
New in 8