Let $G$ be a non-commutative group, and $Z$ be the center of $G$. Can $Z$ have a non-trivial subgroup? I can't prove the negative, but I can't find an example either.
A line of thought I'm currently pursuing is that $Z$ is still a group, so one of Sylow's theorem (obviously we need that $G$ is a finite group here, but this is enough as an example) says that there must be some $p$-groups, and we have the example. However I do not know a specific example where the center is not of order $p^m$ (order $p_1^{n_1}p_2^{n_2}$ is good).
Another proof is preferable but an example of a group with center of order $p_1^{n_1}p_2^{n_2}$ is also an interesting answer.