The problem is:
$k$ is a positive integer. Sequence $(a_n)$ is defined by: $$a_1=k+1 \\ a_{n+1}=a_n^2-a_n k + k. $$ Prove that every pair of members of that sequence is coprime.
By induction I got that $a_{n+1}=a_1 a_2 ... a_n + k $. A special case of that sequence is when $k=1$, it's called Sylvester's sequence. In that case, it's pretty easy to solve ($a_n\equiv 1\pmod b, b=a_m, m>n$ .) Otherwise, I'm completely stuck.