For each prime number p every group of order p is isomorphic to Z/pZ.
But for fixed p and increasing a, the number of nonisomorphic groups of order pa grows exponentially.