OFFSET
0,10
COMMENTS
Note that a(n)=0 for n=0 and the n in A094958.
Also note that a(2n)=a(n), e.g., a(1000)=a(500)=a(250)=a(125)=14. - Zak Seidov, Mar 02 2012
a(n) is the number of distinct parallelepipeds each one having integer diagonal n and integer sides. - César Eliud Lozada, Oct 26 2014
LINKS
Samuel Harkness, Table of n, a(n) for n = 0..10000 (terms 0..1000 from Zak Seidov)
MATHEMATICA
nn=100; t=Table[0, {nn}]; Do[n=Sqrt[a^2+b^2+c^2]; If[n<=nn && IntegerQ[n], t[[n]]++], {a, nn}, {b, a, nn}, {c, b, nn}]; Prepend[t, 0]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Nov 12 2010
STATUS
approved