All good sequences are degenerate
Source: EGMO 2022/3
April 10, 2022
EGMOEGMO2022
Problem Statement
An infinite sequence of positive integers is called if
(1) is a perfect square, and
(2) for any integer , is the smallest positive integer such that is a perfect square.
Prove that for any good sequence , there exists a positive integer such that for all integers .
(reposting because the other thread didn't get moved)