a_n+a_{n-1} is a perfect square for all n
Source: 2024 5th OMpD L2 P4 - Brazil - Olimpíada Matemáticos por Diversão
October 16, 2024
algebraSequencePerfect Squares
Problem Statement
Let be an infinite sequence of positive integers with the following properties:
- is a given positive integer;
- For each integer , is the smallest integer greater than such that is a perfect square.
For example, if , then , , , and so on.(a) Let be the set of numbers of the form , with integers.
Prove that, regardless of the value of , the number of positive integers not in is finite.(b) Calculate, as a function of , the number of positive integers that are not in .