I have a question about Sylow theory and isomorphic groups. I came with it while trying to solve some problems from my group theory course. The question is if this statement is true in general:
Being $G$, $H$ two groups of same order, $|G|=|H|=p_1^{\alpha_1}\cdots > p_n^{\alpha_n}$ with each $p_i$ prime. Then, if the number of Sylow $p_i$-subgroups in $G$ equals the number in $H$ for all $i=1,...,n$, then $G\cong H$.
Is this true? Is it true just in certain cases? If not, why? Any help will be appreciated, thanks in advance.
This looks false to me. Take $Q_8$ and $D_8$ for instance. Then, they have the same number of Sylow 2-subgroups (since their orders are $8$, they both have one) but they are not isomorphic.