OFFSET
0,3
COMMENTS
a(n) is the number of ways to tile a 2 x n strip, with a bent tromino added to the top, with dominos and L-shaped trominos:
._
|_|_
|_|_|_ _ _
|_|_|_|_|_| . . .
|_|_|_|_|_| . . .
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,1).
FORMULA
a(n) = 2*a(n-1) + a(n-3).
G.f.: x*(1 + 2*x) / (1 - 2*x - x^3). - Colin Barker, Jun 04 2020
EXAMPLE
a(2) = 4 as shown by these four tilings:
._ _ _ _
|X|_ | |_ |X|_ | |_
|X|X| , |_|X| , |X|X| , |_| |
|_ _| |X X| | | | |X|_|
|_ _| |_ _| |_|_| |X X|
PROG
(PARI) concat(0, Vec(x*(1 + 2*x) / (1 - 2*x - x^3) + O(x^35))) \\ Colin Barker, Jun 04 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael Tulskikh, May 30 2020
STATUS
approved