login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
0,7
COMMENTS
Every term is divisible by 6. For a guide to related sequences, see A211795.
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 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
Cf. A211795.
Sequence in context: A291989 A035019 A216057 * A052380 A315826 A304821
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 02 2012
STATUS
approved