My Personal Favourite NT Problem from CNO 2019, P5
投稿日:2023/5/16最終更新日:2025/5/18
Find the square in the sequence
Given any positive integer c>1, denote p(c) as the largest prime factor of c. A sequence {an} of positive integers satisfies
a1>1 and an+1=an+p(an) for all n≥1. Prove that there must exist at least one perfect square in the sequence {an}.
We have to show two examples of sequence
a1a1=7↦14↦21↦28↦35↦42↦49=12↦15↦20↦25
We observe, that if p(an) is very large, then it will stay constant for many iterations until we reach the value p(an)2. This observation can be formalized in claim.
If p(an)2≥an, then
∀n≤k≤m:p(ak)=p(an),
where m is maximal such that am≤p(an)2.
Moreover, am=p(an)2
We will prove the first part of the claim inductively.
The base case is clear by f(k)=f(k).
By our induction hypothesis, we have for any n≤k<m
p(an)∣ak+p(an)=ak+p(ak)=ak+1.
Because ak+1≤p(an)2, no longer prime divisor may divide
p(an)ak+1≤an
Thus, p(ak+1)=p(an). In the second part, we see that
am≤p(an)2<am+1=am+p(an),
or
p(an)2−p(an)<am≤p(an)2,
which implies with p(an)∣am, that
am=p(an)2.■
Now, we compare the sequences {p(an)an} and {p(an)}. When
p(an)an≤p(an),
we are immediately done by 1.
We have,
p(an+1)an+1≤p(an)an+1=p(an)an+p(an)=p(an)an+1.
So if {p(an)an} grows without bound, it hits very integer ≤p(a1)a1. At least one of those is a prime q because there are indefinitely many primes. The definition of p implies
p(an)≥q=p(an)an