I have a question. I am supposed to prove the following theorem:
Let $n \in \mathbb{N}$ be a natural number.
Show that:
the number of nonisomorphic groups of order $n$ is less than or equal to $n^{n^2}$.
My reasoning:
A set $G$ is a group if it's equiped with a binary operation/map: $G\times G \rightarrow G, \space (g_1,g_2)\rightarrow g_1 \circ g_2$. Additionally two groups $G,H$ are isomorphic $G \cong H$ if there exists a isomorphism $f:G \rightarrow H$.
Now, for each such map $G\times G \rightarrow G$ we get a different group. Because there are $n^{n^2}$ such different maps (for $|G|=n$), the number of all possible different groups should be $\leq n^{n^2}$. And since we have different binary operations defined on the same set, we should get different multiplication (Cayley) tables, we would have $f(a)\star f(b)\neq f(a \circ b)$ for $a,b \in G$ and some bijection $f$ . Meaning that, since homomorphisms don't exist, all those different groups are nonisomorphic and we have therefore shown the above theorem to be true.
More intuitively:
The statement of beeing (non) isomorphic can be translated to (not) having the same multiplication table. If we have a group of order $n$, then the multiplication table should be of size $n\times n= n^2$. Each of the $n^2$ entries (in the table) has $n$ possible entries, representing a different choice of the above mentioned binary operation. Because those possibilities multiply, we would have: $n\times \cdots \times n=n^{n^2}$ and each table beeing different, those groups are nonisomorphic.
My question:
Is my reasoning, in both cases, correct? Am I missing something? How would I prove, more formally, that for different binary operations defined on the same set we get different nonisomorphic groups?
Related questions:
Number of distinct groups of order n upto isomorphism, for a fixed integer n.
The number of groups of order n(upto isomorphism)is
Comment: I am a physicist and don't have major ambitions in abstract algebra, please be nice.