login
Number of (w,x,y,z) with all terms in {1,...,n} and w=x*y*z-1.
2

%I #7 Dec 04 2016 19:46:29

%S 0,0,3,9,12,21,24,34,40,49,52,70,73,82,91,106,109,127,130,148,157,166,

%T 169,199,205,214,224,242,245,272,275,296,305,314,323,359,362,371,380,

%U 410,413,440,443,461,479,488,491,536,542,560,569,587,590,620

%N Number of (w,x,y,z) with all terms in {1,...,n} and w=x*y*z-1.

%C For a guide to related sequences, see A211795.

%t t = Compile[{{n, _Integer}}, Module[{s = 0},

%t (Do[If[w == x*y*z - 1, s = s + 1],

%t {w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];

%t Map[t[#] &, Range[0, 60]] (* A212059 *)

%t (* _Peter J. C. Moses_, Apr 13 2012 *)

%Y Cf. A211795.

%K nonn

%O 0,3

%A _Clark Kimberling_, Apr 30 2012