Problem

Source: International olympiad of metropolises 2016

Tags: number theory, IOM



Find all positive integers $n$ such that there exist $n$ consecutive positive integers whose sum is a perfect square.