MathDB
a_k is smallest integer > a_{k-1} for which a_k +a_{k-1} is perfect square

Source: Dutch IMO TST 2018 day 1 p3

August 30, 2019
number theorySumfloor functionPerfect Square

Problem Statement

Let n0n \ge 0 be an integer. A sequence a0,a1,a2,...a_0,a_1,a_2,... of integers is de fined as follows: we have a0=na_0 = n and for k1,akk \ge 1, a_k is the smallest integer greater than ak1a_{k-1} for which ak+ak1a_k +a_{k-1} is the square of an integer. Prove that there are exactly 2n\lfloor \sqrt{2n}\rfloor positive integers that cannot be written in the form akaa_k - a_{\ell} with k>0k > \ell\ge 0.