For which $n$ does there exist a finite group with orders of elements $1$, $2$, $\ldots$, $n$ (but without elements of larger order)?
I could find such groups for $n=1,2,\ldots,7$:
- For $n=1,2,3,4$ we can take the symmetric group $S_n$;
- For $n=5$ we can take the alternating group $A_6$;
- For $n=6$ we can take the symmetric group $S_5$ (or $S_6$);
- For $n=7$ we can take the alternating group $A_7$.
Does such a group also exist for larger values of $n$?
By Lagrange's theorem we know that the order of the group must be a multiple of the lcm of $1$, $2$, $\ldots$, $n$. Furthermore, the group cannot be abelian since in an abelian group containing elements of order $a$ and $b$ there is also an element of order $\text{lcm}(a,b)$.