OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,0,0,1,-3,3,-1).
FORMULA
G.f.: x^3 * (1 - x + 2*x^2 - x^3 + x^4 + x^5) / ((1 - x)^3 * (1 - x^7)).
a(n) = -A011896(2 - n).
EXAMPLE
x^3 + 2*x^4 + 5*x^5 + 9*x^6 + 15*x^7 + 24*x^8 + 36*x^9 + 52*x^10 + ...
PROG
(PARI) a(n) = ceil( n * (n-1) * (n-2) / 14)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael Somos, Jun 02 2000
STATUS
approved