Combinatorial Proof of a Recurrence Relation

AvgStudent
Messages
7
Reaction score
0
So my professor gave us this recurrence relation to prove combinatorially for extra credit, but I was unable to figure it out.

h(n) = 5h(n-1) - 6h(n-2) + 1

This was my solution, but I couldn't figure out how to factor in the +1:
Let hn be the number of ways to arrange 0,1,2,3,4 on a 1xn string where 01,02,31,32,41,42 doesn't appear in the string.
5h(n-1) counts the # of ways to arrange the string where it begins with 0,1,2,3, or 4.
6h(n-2) counts the # of ways to arrange the string when it begins with 01,02,31,32,41 or 42.

No matter what I thought of, I couldn't solve that +1.
 
Physics news on Phys.org
Welcome to PF!

Hi AvgStudent! Welcome to PF! :smile:

Can you find a "particular solution" to this recurrence relation the usual way?

If so, just add that to your present solution. :wink:
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K