How many non isomorphic groups are there
1) that have 2 elements
2) that have 3 elements
My solution:
1) There must be a identity element in a group and for each element $x$ there also has to be $x^{-1}$. If we look at 2 element groups, one of the elements is identity element and the other one has to have its inverse. Therefore there are no 2 element groups.
2) As a group doesn't have to be commutative, there's quite a lot of non isomorphic groups. I would appreciate some explanation on how to evaluate this problem without drawing graphs and simply counting non isomorphisms.