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,0,0,0,0,0,0,0,0,0,1,-3,3,-1).
FORMULA
G.f.: (x^4*(1+x^2-x^3+x^4+x^5+x^9+x^10-x^11+x^12+x^13-x^14+x^15))/(1+x*(-3+x*(3+x*(-1+(-1+x)^3*x^14)))). - Peter J. C. Moses, Jun 02 2014
MAPLE
MATHEMATICA
Floor[6*Binomial[Range[0, 50], 3]/17] (* G. C. Greubel, Oct 16 2024 *)
PROG
(PARI) a(n) = n*(n-1)*(n-2)\17; \\ Michel Marcus, Jan 23 2017
(Magma) [Floor(n*(n-1)*(n-2)/17) : n in [0..60]]; // Wesley Ivan Hurt, Apr 23 2021
(SageMath) [6*binomial(n, 3)//17 for n in range(51)] # G. C. Greubel, Oct 16 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved