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?
- A. 685
- B. 89
- C. 144
- 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
- Ten distinct lines are drawn in the plane so that exactly 4 of them are mutually parallel, no other two are parallel and no three lines…
- 100 people stand in a circle numbered 1 to 100. Starting with person 1, every second person still in the circle is eliminated (1 goes…
- 14 identical sweets are distributed among 4 children A, B, C, D so that each child gets at least 1 and at most 5. In how many…
- How many distinct arrangements of the letters of ABRACADABRA have no two identical letters adjacent?
- How many odd numbers appear in rows 0 to 99 of Pascal's triangle (row n being C(n,0), …, C(n,n))?
- What is the exponent of the largest power of 3 dividing C(200, 100)?