a_{2n-1} = a_{2n-2} + n$ , $a_{2n} = a_{2n-1} + n , perfect square
Source: Dutch NMO 2009 p2
September 6, 2019
number theoryPerfect Squarerecurrence relation
Problem Statement
Consider the sequence of integers obtained by starting with zero, adding , then adding again, then adding , and adding again, then adding , and adding again, and so on. If we call the subsequent terms of this sequence , then we have , and , for all integers .
Find all integers for which is the square of an integer.