This question already has an answer here:
Suppose $n=18$, then all possible groups of order $18$ is $5$. Among them $2$ are abelian and $3$ are non-abelian.
Let $n$ be a natural number. How can I determine the number of all possible groups (abelian and non-abelian) of order $n$?
Is there any theorem or result that can determine number of all possible groups of given order $n$?