The order of a group is its cardinality, i.e., the number of elements in its set. Also, the order, sometimes period, of an elementa of a group is the smallest positive integerm such that (where e denotes the identity element of the group, and am denotes the product of m copies of a). If no such m exists, a is said to have infinite order.