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,1,-3,3,-1).
FORMULA
G.f.: x^5*(1 +x^4 -x^5 +2*x^7 -x^8 +x^10 -x^11 +x^12 +x^14 -x^15 +x^16 -x^18 +2*x^19 -x^21 +x^22 +2*x^26 -2*x^27 +x^28)/((1-x)^3*(1-x^31)). - Peter J. C. Moses, Jun 02 2014
MATHEMATICA
Floor[6*Binomial[Range[0, 80], 3]/31] (* G. C. Greubel, Oct 19 2024 *)
PROG
(PARI) a(n) = n*(n-1)*(n-2)\31 \\ Jianing Song, Oct 15 2018
(Magma) [Floor(6*Binomial(n, 3)/31): n in [0..80]]; // G. C. Greubel, Oct 19 2024
(SageMath) [6*binomial(n, 3)//31 for n in range(81)] # G. C. Greubel, Oct 19 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms added by G. C. Greubel, Oct 19 2024
STATUS
approved