Suppose we can only use 5 kinds of tiles to cover a 1 times n board: (1) 1 times 1 size with red color, (2) 1 times 1 size with blue color, (3) 1 times 2 size with black color, (4) 1 times 2 size with green color, (5) 1 times 2 size with white color. Let W(n) be the number of ways to tile the 1 times n board, n=1,2,….

Alex Baird

Alex Baird

Answered question

2022-07-18

Suppose we can only use 5 kinds of tiles to cover a 1 × n board:
(1) 1 × 1 size with red color,
(2) 1 × 1 size with blue color,
(3) 1 × 2 size with black color,
(4) 1 × 2 size with green color,
(5) 1 × 2 size with white color.
Let W(n) be the number of ways to tile the 1 × n board, n = 1 , 2 ,
For example, W ( 1 ) = 2, W ( 2 ) = 7.
What is the W(n) equation?

Answer & Explanation

salumeqi

salumeqi

Beginner2022-07-19Added 15 answers

Step 1
W ( n + 1 ) = 2 × W ( n ) + 3 × W ( n 1 )
Step 2
When W ( 0 ) = 1

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?