Problem

Source: Moldova NMO 2002 grade 9 problem nr.5

Tags: modular arithmetic



Integers $ a_1,a_2,\ldots a_9$ satisfy the relations $ a_{k+1}=a_k^3+a_k^2+a_k+2$ for $ k=1,2,...,8$. Prove that among these numbers there exist three with a common divisor greater than $ 1$.