Problem

Source: Spain Mathematical Olympiad 2018 P1

Tags: algebra, Spain, number theory



Find all positive integers $x$ such that $2x+1$ is a perfect square but none of the integers $2x+2, 2x+3, \ldots, 3x+2$ are perfect squares.