TITLE: 4900, a particularly square number
QUESTION [7 upvotes]: I read in "Letters to a young mathematician" that 4900 is the only square integer that is the sum of consecutive squares (I believe he meant by that "starting from 1", but maybe that's not even necessary). I did a quick run through with a python script and of course this seems totally devoid of a computational pattern. Why is 4900 (and 1 of course) the only number such that this works?
I did find out that the sum of squares is the following...
$\sum^{n}_{i=1} i^2 = \frac{n(n+1)(2n+1)}{6}$

REPLY [12 votes]: I remember vaguely that the equation $1^2+\dots+24^2=70^2$ gives a construction of the Leech lattice (one has to consider one of the two even neighbours  of the lattice $\mathbb Z \frac{w}{70}+\Lambda'$ where $w=(1,2,\dots,24)$ and $\Lambda'=\lbrace z\in\mathbb Z^{24}|\langle z,w\rangle\in70\mathbb Z\rbrace$) which is a rather unique and exceptional structure.