The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.

(PARI) a(n)=sum(i=1, sqrtint((n^2+2*n+2)^2\8), my(k=sqrtint(2*i^2)); sqrtint(sqrtint( (n+1)^2\k^2\2)^2*2*k^2)==n) \\ Charles R Greathouse IV, Mar 05 2013