The question is: Find all $n$ so that there exists $n$ consecutive numbers whose sum is a square!
My method to solve the problem: I would try to look at the values modulo $n$, and there I see there is no possible square for $n=2x>2$, so all even numbers bigger than 2, and that all odd numbers work...
I can also see that the sum of the consecutive numbers is $$\dfrac{((x+1)+(x+n)) \cdot n}{2}$$ So that has to give a square...
But how do I do that? I cannot put my method in application... Am I totally wrong, and I shouldn't do it like that?
For any odd $n$, sum of $n$ consecutive numbers starting from $\frac {n+1}2$ is
$$\frac n2 (n+1+(n-1)*1) = n^2$$
Thus for every odd $n$, there exist $n$ consecutive numbers whose sum is a perfect square.
More details - This becomes simpler if you know Arithematic Progression. The formula for sum of $n$ numbers starting from $a$, which are $d$ apart (difference between successive numbers is $d$) is
$$S_n=\frac n2(2a+(n-1)d)$$
Here $d=1$ and $a$ can be calculated to be $\frac {n+1}2$
Thank you @Litho for pointing it out.