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,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-13) -3*a(n-14) +3*a(n-15) -a(n-16).
G.f.: x^5*(2-2*x+2*x^2-2*x^3+3*x^4-2*x^5+2*x^6-2*x^7+3*x^8-2*x^9+x^10) / ( (1-x)^3*(1-x^13) ). (End)
MATHEMATICA
Floor[3*Binomial[Range[0, 75], 3]/13] (* G. C. Greubel, Oct 18 2024 *)
PROG
(Magma) [Floor(3*Binomial(n, 3)/13): n in [0..75]]; // G. C. Greubel, Oct 18 2024
(SageMath) [3*binomial(n, 3)//13 for n in range(76)] # G. C. Greubel, Oct 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms added by G. C. Greubel, Oct 18 2024
STATUS
approved