OFFSET
0,2
COMMENTS
Number of integer triples (x,y,z) satisfying x^4+y^4+z^4 <= n^2, -n <= x,y,z <= n.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
MAPLE
N:= 100: # to get a(1)..a(N)
A:= Array(0..N):
for i from 0 while i^4 <= N^2 do
if i=0 then ai:= 1 else ai:= 2 fi;
for j from 0 while i^4 + j^4 <= N^2 do
if j=0 then aj:= 1 else aj:= 2 fi;
for k from 0 do
v:= ceil((i^4 + j^4 + k^4)^(1/2));
if v > N then break fi;
if k = 0 then ak:= 1 else ak:= 2 fi;
A[v..N]:= map(`+`, A[v..N] , ai*aj*ak);
od od od:
convert(A, list); # Robert Israel, May 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Apr 24 2010
STATUS
approved