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

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

%S 0,0,0,2,14,18,30,34,74,104,128,136,216,228,260,318,438,454,554,570,

%T 718,812,868,888,1128,1182,1250,1398,1614,1642,1864,1892,2204,2354,

%U 2446,2570,2990,3026,3126,3304,3760,3800,4128,4168,4520,4906,5030

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

%C Each term is divisible by 2. See A211795 for a guide to related sequences.

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

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

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

%t Map[t[#] &, Range[0, 50]] (* A212048 *)

%t %/2 (* integers *)

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

%Y Cf. A211795.

%K nonn

%O 0,4

%A _Clark Kimberling_, Apr 29 2012