OFFSET
0,2
COMMENTS
a(n) is the number of ways to tile this T-shaped figure of length n with squares, dominoes, and trominoes. Shown here is the figure for n=9.
_
|_|_______________
|_|_|_|_|_|_|_|_|_|
|_|
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,1).
FORMULA
a(n) = T(n+2) + 3*T(n+1), for T(n) = A000073(n) the tribonacci numbers.
a(n) = L(n+1) + F(n) + Sum_{i=1.. n-2} F(i)*a(n-2-i), for F(n) = A000045(n) the Fibonacci numbers and L(n) = A000032(n) the Lucas numbers.
a(n) = L(n+1) + T(n+1) + Sum_{i=1.. n-2} L(i)*T(n-i), for L(n) = A000032(n) the Lucas numbers and T(n) = A000073(n) the tribonacci numbers.
G.f.: (1 + 3*x)/(1 - x - x^2 - x^3). - Stefano Spezia, Jul 14 2022
EXAMPLE
Here is one of the a(9)=392 tilings, this one with four squares, two dominoes, and one tromino.
_
|_|_______________
| |_|_____|_|_|___|
|_|
MATHEMATICA
LinearRecurrence[{1, 1, 1}, {1, 4, 5}, 50] (* Paolo Xausa, May 27 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Greg Dresden and Veda Garigipati, Jul 13 2022
STATUS
approved