Let $a$ and $b$ be two relatively prime positive integers, and consider the arithmetic progression $a$, $a+b$, $a+2b$, $a+3b$, . . .
(G. Polya) Prove that there are infinitely many terms in the arithmetic progression that have the same prime divisors.
Prove that there are infinitely many pairwise relatively prime terms in the arithmetic progression.
I was able to solve the first part by showing that the sequence {$ap$, $ap^2$, $ap^3$, . . .} has infinite intersection with the sequence {$a$, $a+b$, $a+2b$, . . .} by considering a prime $p$ $\equiv$ $1$ (mod $b)$ whose existence is guaranteed by Dirichlet.
For the second part, I assumed $k$ terms of the sequence which are pairwise relatively prime and then attempted to show that another pairwise relatively prime term can be generated from the previous $k$ terms by using a construction similar to that of Euclid's. However I wasn't able to get anything meaningful. Does this approach yield the desired result? If so how exactly can we achieve the result?