OFFSET
0,7
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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-3,3,-1).
FORMULA
G.f.: x^5*(1-x+x^2)*(1 +x -x^3 -x^4 +x^5 +x^6 +2*x^7 -x^8 -x^9 -x^10 +x^11 +x^12 +2*x^13 -x^14 -x^15 +2*x^18 -x^21 +x^23 +x^24 -x^26 +x^27)/((1-x)^4*(1 +x)*(1+x^2)*(1+x^4)*(1+x^8)*(1+x^16)). - Peter J. C. Moses, Jun 02 2014
MAPLE
MATHEMATICA
Table[Floor[n (n-1)(n-2)/32], {n, 0, 80}] (* Wesley Ivan Hurt, Jun 02 2014 *)
PROG
(Magma) [Floor(n*(n-1)*(n-2)/32): n in [0..80]]; // Wesley Ivan Hurt, Jun 02 2014
(PARI) a(n) = n*(n-1)*(n-2)\32 \\ Jianing Song, Oct 15 2018
(SageMath) [3*binomial(n, 3)//16 for n in range(81)] # G. C. Greubel, Oct 20 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 11 1996
EXTENSIONS
More terms added by G. C. Greubel, Oct 20 2024
STATUS
approved