Daily

Random

Practice set

Baltic Way 2024 · Problem 18

Number Theory

An infinite sequence a1,a2,…a_{1}, a_{2}, \ldots of positive integers is such that an≥2a_{n} \geq 2 and an+2a_{n+2} divides an+1+ana_{n+1}+a_{n} for all n≥1n \geq 1. Prove that there exists a prime which divides infinitely many terms of the sequence.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Primes

Solutions

Solution

Assume that every prime divides only finitely many terms of the sequence. In particular this means that there exists an integer N>1N>1 such that 2∤an2 \nmid a_{n} for all n≥Nn \geq N. Let M=max⁡(aN,aN+1)M=\max \left(a_{N}, a_{N+1}\right) We will now show by induction that an≤Ma_{n} \leq M for all n≥Nn \geq N. This is obvious for n=Nn=N and n=N+1n=N+1. Now let n≥N+2n \geq N+2 be arbitrary and assume that an−1,an−2≤Ma_{n-1}, a_{n-2} \leq M. By the definition of NN, it is clear that an−2,an−1,ana_{n-2}, a_{n-1}, a_{n} are all odd and so an≠an−1+an−2a_{n} \neq a_{n-1}+a_{n-2}, but we know that an∣an−1+an−2a_{n} \mid a_{n-1}+a_{n-2} and therefore

an≤an−1+an−22≤max⁡(an−1,an−2)≤Ma_{n} \leq \frac{a_{n-1}+a_{n-2}}{2} \leq \max \left(a_{n-1}, a_{n-2}\right) \leq M

by the induction hypothesis. This completes the induction. This shows that the sequence is bounded and therefore there are only finitely many primes which divide a term of the sequence. However there are infinitely many terms, that all have a prime divisor, hence some prime must divide infinitely many terms of the sequence.

Contest context

Results from Baltic Way 2024

11 teams

Mean score
3.2 / 5
Scores of 4 or 5
6 / 11
Estonia
5 / 5

Score distribution

02
12
20
31
40
56
All team scores
TeamScore
Poland5 / 5
Estonia5 / 5
Germany5 / 5
Ukraine1 / 5
Latvia5 / 5
Norway5 / 5
Lithuania5 / 5
Sweden3 / 5
Denmark0 / 5
Finland0 / 5
Iceland1 / 5