Discrete math · Recurrences and generating functions

Non-homogeneous recurrences: the Tower of Hanoi

A recurrence with an extra constant term, like the one behind the Tower of Hanoi, needs one more step to solve.