OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
G.f.: x^2*(3*x^4 + 2*x^3 + x^2 + x + 1)/((x-1)^2*(x^4 + x^3 + x^2 + x + 1)). [Colin Barker, Jul 02 2012]
MATHEMATICA
Flatten[Table[8n + {0, 1, 2, 3, 5}, {n, 0, 15}]] (* Alonso del Arte, Jan 13 2014 *)
PROG
(PARI) a(n)=(n-1)\5<<3+(n-1)%5+(n%5==0) \\ Charles R Greathouse IV, Sep 06 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved