Problem

Source: Baltic Way 2024, Problem 18

Tags: number theory, number theory proposed, Sequence, Divisors, prime numbers



An infinite sequence $a_1, a_2,\ldots$ of positive integers is such that $a_n \geq 2$ and $a_{n+2}$ divides $a_{n+1} + a_n$ for all $n \geq 1$. Prove that there exists a prime which divides infinitely many terms of the sequence.