Back to Solving Recurrence Relations

Exercise 6

Avg difficulty 2.5

While walking up stairs you notice that you have a habit of using 3 ways of taking one step and 4 ways of taking two steps at a time. Find a recurrence relation for the number of ways to go up nn steps. Solve the recurrence relation given the initial conditions of a0=1a_0 = 1 and a1=3a_1 = 3 using the characteristic root method.

Hammond, Discrete Math for Shockers, §4.2 Solving Recurrence Relations, Exercise 6

AI Tutor

Adapted from Discrete Math for Shockers © 2021 John Hammond. Licensed under CC BY-SA 4.0. Source: Discrete Math for Shockers. Imported at revision 2538beb.