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”).

A011892
a(n) = floor( n*(n-1)*(n-2)/10 ).
2
0, 0, 0, 0, 2, 6, 12, 21, 33, 50, 72, 99, 132, 171, 218, 273, 336, 408, 489, 581, 684, 798, 924, 1062, 1214, 1380, 1560, 1755, 1965, 2192, 2436, 2697, 2976, 3273, 3590, 3927, 4284, 4662, 5061, 5483, 5928, 6396, 6888, 7404, 7946, 8514, 9108, 9729, 10377, 11054, 11760
OFFSET
0,5
FORMULA
From R. J. Mathar, Apr 15 2010: (Start)
a(n) = +3*a(n-1) -3*a(n-2) +a(n-3) +a(n-5) -3*a(n-6) +3*a(n-7) -a(n-8).
G.f.: x^4*(2+x^3)/( (1-x)^4*(1+x+x^2+x^3+x^4) ). (End)
MATHEMATICA
CoefficientList[Series[x^4*(2+x^3)/((1-x)^3*(1-x^5)), {x, 0, 50}], x] (* Vincenzo Librandi, Jul 07 2012 *)
Floor[3*Binomial[Range[0, 50], 3]/5] (* G. C. Greubel, Oct 06 2024 *)
PROG
(Magma) [Floor(n*(n-1)*(n-2)/10 ): n in [0..50]]; // Vincenzo Librandi, Jul 07 2012
(SageMath) Floor[3*Binomial[Range[0, 50], 3]/5] # G. C. Greubel, Oct 06 2024
CROSSREFS
Cf. A011886.
Sequence in context: A352990 A184637 A022450 * A062482 A046960 A126428
KEYWORD
nonn,easy
STATUS
approved