Find all the cyclic subgroups of $\mathbb{Z}_{p^r} \times \mathbb{Z}_{p^r}$ of order $p^r$

abstract-algebracyclic-groupsgroup-theorynumber theory

I need to prove that $\mathbb{Z}_{p^r} \times \mathbb{Z}_{p^r}$ has $p^{r-1}(p+1)$ cyclic subgroups of order $p^r$.

My attempt is to find all elements $(a,b) \in \mathbb{Z}_{p^r} \times \mathbb{Z}_{p^r}$ of order $p^r$ and then divide them by $\phi(p^r)$. I know that in $\mathbb{Z}_{p^2}$ there are $p^2-p$ elements of order $p^2$. How can I count the number of elements in $\mathbb{Z}_{p^r}$ such that $p^r(a,b)=(0,0)$?

Can anyone help me?

Best Answer

You are on the right track. An element $(a,b) \in \mathbb{Z}_{p^r} \times \mathbb{Z}_{p^r}$ is of order $p^r$ if and only if at least one of $a,b$ is of order $p^r$ in $\mathbb{Z}_{p^r}$. Since there are $\phi(p^r)$ such elements in $\mathbb{Z}_{p^r}$, by inclusion and exclusion, we get $$2\phi(p^r)p^r-\left(\phi(p^r)\right)^2$$ such $(a,b)$.

Now dividing by $\phi(p^r)$ as you suggest, will give the answer.

EDIT

When we count the elements, the expression $$2\phi(p^r)p^r$$ counts the elements where both $a$ and $b$ are of order $\phi(p^r)$ twice, so we have to subtract them.$$|A\cup B|=|A|+|B|-|A\cap B|$$