Form a sequence from the consecutive positive integers from 1 to n (where n>1) in such a way that the sum of any two adjacent terms in the sequence is a perfect square. What is the smallest value of the positive integer n?
Olympiad
Olympiad #144
Sign in to check your answer and unlock the solution.