I have recently encountered this very interesting problem from my abstract algebra class where we have just now proven the fundamental theorem of finitely generated Abelian groups, and the problem statement I have here is as follows:
Let $ G_1, G_2 $ be two finite Abelian groups such that for all natural k these two groups have the same number of elements of order k. We are to prove that the groups $ G_1, G_2 $ are isomorphic
Now I realize this may have been around somewhere or even here but I could not understand any of those as they use different tools. What I have been taught in my course is the fundamental theorem of finitely generated Abelian groups which I know in two forms: the elementary divisors and the invariant factor decomposition and that two of these are isomorphic if and only if they have the same elementary divisors or the invariant factors but from there I am stuck. I would certainly appreciate the help on this for a novice. Thanks to all helpers
Edit: I realize this might be a duplicate question my problem is I could not really understand the other answers