OFFSET
1,1
COMMENTS
Numbers are listed without multiplicity: 365 is the first term that is the sum of two or more squares in more than one way. See A062681 for other numbers of that form. - M. F. Hasler, Dec 22 2013
A subsequence of A212016. This sequence focuses on the squares of consecutive positive integers. - Altug Alkan, Dec 24 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
5 = 1^2 + 2^2
13 = 2^2 + 3^2
14 = 1^2 + 2^2 + 3^2
25 = 3^2 + 4^2
MATHEMATICA
max = 50^2; lst = {}; Do[z = n^2; Do[z += (n + x)^2; If[z > max, Break[]]; AppendTo[lst, z], {x, max/2}], {n, max/2}]; Union[lst]
PROG
(PARI) N=20; a=[]; for(i=2, N, for(k=1, i-1, if(N^2*2>t=sum(j=i-k, i, j^2), a=setunion(a, Set(t)), break))); a \\ M. F. Hasler, Dec 22 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 06 2010
EXTENSIONS
Name edited by Altug Alkan, Dec 24 2015
STATUS
approved