OFFSET
0,5
COMMENTS
For n>2, a(n) = A017818(n+3).
FORMULA
G.f.: x^3*(1 + x + x^2)^2 / (1 - x^3 - x^4 - x^5).
a(0)=a(1)=a(2)=0; a(3)=1; a(4)=2; a(5)= a(6)=3; a(7)=4; a(n)= a(n-3) + a(n-4) + a(n-5).
MATHEMATICA
CoefficientList[Series[(1 - x^3 - x^4 - x^5)^-1*(1 + x + x^2)^2*x^3 , {x, 0, 100}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Philipp O. Tsvetkov, Aug 21 2013
STATUS
approved