We are playing a board game imagine Monopoly or Life or anyt

We are playing a board game (imagine Monopoly or Life or anything similar). Every time you flip a coin, you move forward by 2 if it was heads, and move forward by 1 if it was tails. Set an = number of different ways to move forwards by n. Find the recurrence relation for an.

Solution

an = number of different ways to move forwards by n.

The nth step can be reached either from (n-1)th step or from (n-2)th step.

Thus: number of different ways to move forwards by n = (number of different ways to move forwards by n-1) + (number of different ways to move forwards by n-2)

an = an-1 + an-2

We are playing a board game (imagine Monopoly or Life or anything similar). Every time you flip a coin, you move forward by 2 if it was heads, and move forward

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site