OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
FORMULA
a(n) = 1 + floor(n*(n^2 +15*n +74)/120).
a(n) = floor(binomial(n+6,3)/20). - G. C. Greubel, Mar 24 2023
MATHEMATICA
Table[Floor[Binomial[n+6, 6]/Binomial[n+3, 3]], {n, 0, 60}] (* Harvey P. Dale, Feb 07 2015 *)
Floor[Binomial[Range[6, 76], 3]/20] (* G. C. Greubel, Mar 24 2023 *)
PROG
(Magma) [Floor(Binomial(n+6, 3)/20): n in [0..70]]; // G. C. Greubel, Mar 24 2023
(SageMath) [binomial(n+6, 3)//20 for n in range(71)] # G. C. Greubel, Mar 24 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jun 01 2003
STATUS
approved