OFFSET
0,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
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*(3-2*x+3*x^2-x^3+2*x^4+x^6)/((1-x)^4*(1+x)*(1+x^2)*(1+x^4)). (End)
MATHEMATICA
Floor[6*Binomial[Range[0, 50], 3]/8] (* G. C. Greubel, Oct 06 2024 *)
PROG
(Magma) [Floor(6*Binomial(n, 3)/8): n in [0..50]]; // G. C. Greubel, Oct 06 2024
(SageMath) [6*binomial(n, 3)//8 for n in range(51)] # G. C. Greubel, Oct 06 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(41) onwards from G. C. Greubel, Oct 06 2024
STATUS
approved