TITLE: If p and q are prime which elements are in the subgroup? (GRE question)
QUESTION [5 upvotes]: I was just doing some practice problems in my abstract algebra book trying to get a warm up this morning, but I found a GRE problem in the problem set and I don't know how to solve it. I've tried to think of examples of proper subgroups of integers under addition so I might get an intuition, but I was able to. 

Let $p$ and $q$ be distinct primes. Suppose that $H$ is a proper subset of the integers that is a group under addition that contains exactly three elements of the set $\{p,p+q,pq,p^{q},q^{p}\}$. Determine which of the following three elements are in $H$.

The answer is $p,pq,p^{q}$.  However, I am completely confused as how to get here. I thought I might know something, but I don't really have any reasons for why they might be, so I figured I don't actually know why. 
Could someone show me the proof or reasoning why this is so?

REPLY [2 votes]: ( $\Bbb{Z}$,+) is a cyclic group of infinite order. And it's known that every subgroup of  $\Bbb{Z}$ will be also a cyclic group. Now as o( $\Bbb{Z}$ ) is infinite, it has  only two generators, 1 and -1.  As  $\Bbb{H}$  is a subgroup of  $\Bbb{Z}$  , it's cyclic. But it's generators can't be 1 or -1 , as   $\Bbb {Z-H }$ ${\cap}$ $\Bbb{H}$ = ${\phi} $ i.e  $\Bbb{H}$ ${\subset}$ $\Bbb {Z}$ . If  p be the generator of $\Bbb{H}$ ,  $\Bbb{H}$  can be written in the form of , $\Bbb{H}$={pn: $n\in{\Bbb Z}\}$. Also if we call the given set 'S'; S={ ${p,pq ,p^q, q^p, p+q}$ }.
In the list of elements in $\Bbb{H}$ of S , p+q can be erased as  $\Bbb{H}$ is a additive cyclic group. Then the remaining possibilities are,

p, pq, ${p^{q}}$

p, ${p^{q}}$ , ${q^{p}}$.

p, pq, ${q^{p}}$
As it is given that, gcd (p,q)= 1 and p,q are distinct primes ,  which suggests that p will not devide  ${p^{q}}$ and ${q^{p}}$simultaneously and moreover p will not devide  ${q^{p}}$ any way , i.e we won't be able to find out  some  $ n'\in{\Bbb Z}\}$  such that n'p= ${q^{p}}$ .
And by this chain of argument we can erase (2) and (3) from the list . So    $\Bbb{H}$  will contain exactly 3 elements of  S ,  which are


${p,pq,p^q}$