OFFSET
1,3
LINKS
FORMULA
a(4)=5 because 5 = 1^2 + 2^2;
a(8)=13 because 13 = 2^2 + 3^2.
MATHEMATICA
Take[Union[Total/@Tuples[Fibonacci[Range[0, 15]]^2, {2}]], 60] (* Harvey P. Dale, Jan 17 2011 *)
PROG
(PARI) list(lim)=my(sq=sqrtint(lim\=1), v=List(), f=List([0, 1]), t); while((t=f[#f]+f[#f-1])<=sq, listput(f, t)); f=apply(sqr, f); for(i=1, #f, for(j=1, i, t=f[i]+f[j]; if(t>lim, break); listput(v, t))); Set(v) \\ Charles R Greathouse IV, Jun 27 2017
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
STATUS
approved