OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..500
P. Chinn, R. Grimaldi and S. Heubach, Tiling with L's and Squares, Journal of Integer Sequences, Vol. 10 (2007), Article 07.2.8
Index entries for linear recurrences with constant coefficients, signature (3, 7, -1, 2).
FORMULA
G.f.: (1-x)^2/(1-3x-7x^2+x^3-2x^4).
EXAMPLE
a(2) = 11 because the 3 X 2 board can be tiled in one way with only square tiles, in 8 ways using one L-tile and 3 square tiles and in 2 ways with 2 L-tiles.
MATHEMATICA
Table[Coefficient[Normal[Series[(1 - x)^2/(1 - 3x - 7x^2 + x^3 - 2x^4), {x, 0, 30}]], x, n], {n, 0, 30}]
PROG
(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; 2, -1, 7, 3]^n*[1; 1; 11; 39])[1, 1] \\ Charles R Greathouse IV, May 11 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Silvia Heubach (sheubac(AT)calstatela.edu), Feb 03 2007
STATUS
approved
