In how many ways can a 2×8 grid be tiled using 1×2 dominoes?
Enter an integer
Show solution
Let f(n) be the number of tilings of a 2×n grid. A tiling either ends with a vertical domino (leaving a 2×(n−1) grid) or two horizontal dominoes (leaving 2×(n−2)). So f(n)=f(n−1)+f(n−2) with f(1)=1, f(2)=2. Computing: f(3)=3,f(4)=5,f(5)=8,f(6)=13,f(7)=21,f(8)=34.