Maths Olympiad Prep

Library / Saudi Arabian Mathematical Competitions /247 of 395

Saudi Arabian Mathematical Competitions

Number theory Difficulty 6.0 AIME, harder Prove it Saudi Arabia

Define sequence of positive integers (an)\left(a_{n}\right) as a1=aa_{1}=a and an+1=an2+1a_{n+1}=a_{n}^{2}+1 for n≥1n \geq 1. Prove that there is no index nn for which
∏k=1n(ak2+ak+1) \prod_{k=1}^{n}\left(a_{k}^{2}+a_{k}+1\right)
is a perfect square.

Solution

Denote pp as a prime of a12+a1+1a_{1}^{2}+a_{1}+1, note that a1a_{1} is odd (since a12+a1+1=a1(a1+1)+1a_{1}^{2}+a_{1}+1= a_{1}\left(a_{1}+1\right)+1 is an odd number) and p∣a1p \mid a_{1}. By induction, we can show that
an≡a2≡−a1(modp) for any n>1. a_{n} \equiv a_{2} \equiv -a_{1} \pmod{p} \text{ for any } n>1.
Thus an2+an+1≡a12−a1+1≡−2a1≢0(modp)a_{n}^{2}+a_{n}+1 \equiv a_{1}^{2}-a_{1}+1 \equiv -2a_{1} \not\equiv 0 \pmod{p} so
vp(∏k=1n(ak2+ak+1))=vp(a12+a1+1). v_{p}\left(\prod_{k=1}^{n}\left(a_{k}^{2}+a_{k}+1\right)\right)=v_{p}\left(a_{1}^{2}+a_{1}+1\right).
Since a12<a12+a1+1<(a1+1)2a_{1}^{2}<a_{1}^{2}+a_{1}+1<\left(a_{1}+1\right)^{2}, then a12+a1+1a_{1}^{2}+a_{1}+1 is not a perfect square.
This implies that there exist some prime pp such that vp(a12+a1+1)v_{p}\left(a_{1}^{2}+a_{1}+1\right) is odd. This finishes the proof. □\square

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.