OFFSET
0,2
COMMENTS
4*a(n) is the number of ways to tile a strip of length n+2 with red and blue squares, blue dominos, and blue trominos, where the first two tiles must have total length <= 3. - Greg Dresden and Arnim Kuchhal, Aug 05 2024
LINKS
FORMULA
a(n) = 2a(n-1)+a(n-2)+a(n-3).
a(n) = Sum_{k=0..floor(n/2)} Sum_{j=0..n-k} C(k+1,j)*C(n-k-j,k)*2^(n-2k-j).
MATHEMATICA
CoefficientList[Series[(1+x)/(1-2x-x^2-x^3), {x, 0, 50}], x] (* or *) LinearRecurrence[{2, 1, 1}, {1, 3, 7}, 50] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 13 2006
STATUS
approved