OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1).
FORMULA
G.f.: x*(1 + 4*x + 5*x^2 + 3*x^3)/((1 - x)^2*(1 + 2*x + 2*x^2 + x^3)). - Bruno Berselli, Jun 30 2014
a(n) = 2*n - 1 + floor(n/2) - floor((n-1)/3). - Bruno Berselli, Jun 15 2016
MATHEMATICA
Table[Floor[3 n/2] + Floor[2 n/3], {n, 0, 70}] (* Bruno Berselli, Jun 30 2014 *)
LinearRecurrence[{0, 1, 1, 0, -1}, {0, 1, 4, 6, 8}, 80] (* Harvey P. Dale, Sep 06 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Nov 23 2003
STATUS
approved