Problem

Source: Mathematics Regional Olympiad of Mexico Southeast 2020 P6

Tags: number theory, prime numbers, Sequence



Prove that for all $a, b$ and $x_0$ positive integers, in the sequence $x_1, x_2, x_3, \cdots$ defined by $$x_{n+1}=ax_n+b, n\geq 0$$ Exist an $x_i$ that is not prime for some $i\geq 1$