

A212096


Number of (w,x,y,z) with all terms in {1,...,n} and w^3=x^3+y^3+z^3.


2



0, 0, 0, 0, 0, 0, 6, 6, 6, 12, 12, 12, 18, 18, 18, 18, 18, 18, 30, 36, 42, 42, 42, 42, 48, 54, 54, 60, 66, 72, 78, 78, 78, 78, 78, 78, 90, 90, 96, 96, 102, 114, 120, 120, 126, 132, 144, 144, 150, 150, 156, 156, 156, 162, 180, 180, 186, 192, 204, 204, 216, 216
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,7


COMMENTS

Every term is divisible by 6. For a guide to related sequences, see A211795.


LINKS



MATHEMATICA

t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w^3 == x^3 + y^3 + z^3, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 70]] (* A212096 *)
%/6 (* integers *)


CROSSREFS



KEYWORD

nonn


AUTHOR



STATUS

approved



