OFFSET
0,6
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,0,0,0,1,-3,3,-1).
FORMULA
From R. J. Mathar, Apr 15 2010: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) + a(n-8) - 3*a(n-9) + 3*a(n-10) - a(n-11).
G.f.: x^4*(1-x+x^2)*(1+x^2-x^3+x^4) / ((1-x)^4*(1+x)*(1+x^2)*(1+x^4)). (End)
a(n) = floor(binomial(n+1,4)/(n+1)). - Gary Detlefs, Nov 23 2011
MAPLE
seq(floor(binomial(n, 3)/4), n=0..43); # Zerinvary Lajos, Jan 12 2009
MATHEMATICA
Floor[Binomial[Range[0, 80], 3]/4] (* G. C. Greubel, Oct 20 2024 *)
PROG
(Magma) [Floor(Binomial(n, 3)/4): n in [0..80]]; // G. C. Greubel, Oct 20 2024
(SageMath) [binomial(n, 3)//4 for n in range(81)] # G. C. Greubel, Oct 20 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms added by G. C. Greubel, Oct 20 2024
STATUS
approved