(More of a long comment.) This is an old question but a Pell equation in it caught my eye. The post is about,
$$1^2+2^2+3^2+\dots+n^2=y^2$$
with stated solution $n=24$ for $n>1$. The OP arrived at a pair of Pell equations, one of which is,
$$6\times a^2+1=b^2$$
Or more accurately since $a=2q$ is even,
$$\; \color{blue}{24}\,q^2+1 =p^2$$
If we relax the requirement that the initial square is $1$, but retain the condition the LHS contains $\color{blue}{24}$ squares, then the same Pell equation appears. Define,
$$F(x) = x^2+(x+1)^2+(x+2)^2+\dots+(x+23)^2=y^2$$
Equivalently,
$$F(x) = 24(x-1)(x+24)+70^2=y^2$$
From the structure of $F(x)$, one can clearly that $F(1) = F(-24) = 70^2$. But since we relax the conditions on $x$, then there are infinitely many sets of $24$ consecutive squares such that their sum is a square, given by,
$$x = (p+24q)^2+4\times23\,pq\quad\\[4pt]
\quad y = (p+24q)^2+3\times23\,(p+4q)^2$$
where $(p,q)$ solve the Pell equation,
$$p^2-24q^2=1$$
$p_n = 1,5,49,485,\dots$ (A001079)
$q_n =\, 0,1,10,99,\,\dots\,$ (A004189)
The three smallest cases yield,
$$\sum_{k=0}^{23} (1+k)^2 =70^2$$
$$\sum_{k=0}^{23} (1301+k)^2=6430^2$$
$$\sum_{k=0}^{23} (128601+k)^2=630070^2$$
and so on.
P.S. It seems the initial square conveniently has an ending digit of $1$, and is $x \equiv 1\, (\text{mod}\, 100)$. I've tested it for the first 20 $(p,q)$, but I'm not sure it is true for all.