OFFSET
0,2
COMMENTS
Cumulative totals of nonzero values in (or distinct values in cumulative totals of) A000925. - Franklin T. Adams-Watters, Jun 21 2006
REFERENCES
Hansraj Gupta, A table of values of N_2(t), Res. Bull. East Panjab Univ. 1952, (1952). no. 20, 13-93.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 0..2749
FORMULA
N_2(t) = Sum_{j <= t} n_2(j) where n_2(j) is the number of nonnegative solutions (x,y) of x^2 + y^2 = j, the solution (x,y) being considered as different from (y,x) in case x != y.
MATHEMATICA
nn = 200; t = CoefficientList[Series[Sum[x^k^2, {k, 0, Sqrt[nn]}]^2, {x, 0, nn}], x]; Union[Accumulate[t]] (* Jean-François Alcover, Jul 20 2011, after T. D. Noe *)
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
EXTENSIONS
More terms from Franklin T. Adams-Watters, Jun 21 2006
STATUS
approved