login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A212560 Number of (w,x,y,z) with all terms in {1,...,n} and w+x<=y+z. 6

%I

%S 0,1,11,50,150,355,721,1316,2220,3525,5335,7766,10946,15015,20125,

%T 26440,34136,43401,54435,67450,82670,100331,120681,143980,170500,

%U 200525,234351,272286,314650,361775,414005,471696,535216,604945,681275

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

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

%C For n>=1, a(n) is the n-th antidiagonal sums of the convolution array A213831. [_Clark Kimberling_, Jul 04 2012]

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1).

%F a(n) = 5*a(n-1)-10*a(n-2)+10*a(n-3)-5*a(n-4)+a(n-5).

%F a(n) = (n + 2*n^3 + 3*n^4)/6. - _Clark Kimberling_, Jul 10 2012

%F G.f.: x*(1 + x)*(1 + 5*x)/(1 - x)^5. - _Clark Kimberling_, Jul 10 2012

%F a(n) = Sum_{k=0..n} A059722(k). - _J. M. Bergot_, Nov 02 2012

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

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

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

%t Map[t[#] &, Range[0, 40]] (* A212560 *)

%Y Cf. A211795.

%K nonn

%O 0,3

%A _Clark Kimberling_, May 21 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 17 02:33 EST 2019. Contains 320200 sequences. (Running on oeis4.)