GATE Computer ScienceHardGATE CS (PYQ pattern)

In how many ways can a 2 × 10 rectangle be tiled with 1 × 2 dominoes (placed either way) and 2 × 2 squares?

  1. A. 685
  2. B. 89
  3. C. 144
  4. D. 683

Correct answer: D. 683

Let tₙ be the count for 2 × n: the last column is a vertical domino (tₙ₋₁), or the last two columns are two horizontal dominoes or a 2×2 square (2tₙ₋₂), so tₙ = tₙ₋₁ + 2tₙ₋₂ with t₀ = t₁ = 1: t₁₀ = 683 (the Jacobsthal numbers).

More Discrete Mathematics questions

Exams that ask this topic