Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it known a characterization of finite groups of order $n$ having exactly $n$ subgroups?
A supplementary question: are there abelian groups other than the trivial group and $\mathbb{Z}_2$ with this property?