r0bHadz said:
The previous question I did was:
"
Find a recurrence relation for the number of bit strings
of length n that do not contain three consecutive 0s."
a_0 = 1 makes sense to me here. There is one string of length 0 that does not contain three consecutive zeros, namely, the string of length 0. The problem in my first post though, I just can't make sense of how there can be a way to climb zero stairs.
This is sort of equivalent to defining ##0! = 1##. You could leave ##a_0## undefined. But, if you define ##a_0 = 1##, then it gives you more flexibility in your formulas.
In this case, however, I would have started with ##a_1##.
There's one example, however, which shows the importance of this sort of idea. If you have two types of drink, water and juice, say, and a group of people. Each person gets to choose what drinks they want. You then separate the group according to what they chose.
You have 1 subgroup of people who chose both drinks.
You have 2 subgroups of people who chose one drink: a "water" subgroup and a "juice" subgroup.
You have 1 subgroup of people who chose neither drink.
In this case, there definitely is (precisely) one way to choose 0 drinks!
So, I suppose, if you extend this to climbing stairs. For any number of stairs, you separate people into the way they climbed them. If there are no stairs, then you can't split the group, meaning that there is, perhaps, precisely one way to climb no stairs!