Problem

Source: 2019 Taiwan TST Round 1

Tags: number theory



Find all positive integers $ n $ such that there exists an integer $ m $ satisfying $$ \frac{1}{n}\sum\limits_{k=m}^{m+n-1}{k^2} $$is a perfect square.