OFFSET
1,1
COMMENTS
EXAMPLE
38025 is in the sequence because 38025 = 195^2 = 25^2 + 26^2 + ... + 50^2.
MATHEMATICA
Select[Accumulate[Range[25, 22000]^2], IntegerQ[Sqrt[#]] &] (* Harvey P. Dale, Aug 10 2023 *)
PROG
(PARI) for(n=26, 9999999, t=n*(n+1)*(2*n+1)/6-4900; if(issquare(t), print1(t, ", ")))
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Zhining Yang, Jan 17 2011
STATUS
approved