- #1
FeDeX_LaTeX
Gold Member
- 437
- 13
Hello;
This is not a homework question, but something I was wondering about solving difference equations.
For example, how would I solve the following difference equation;
[tex]F_{n} = 2F_{n - 2p + 5} + 6p - 17; n, p \in \mathbb N[/tex]
Since it has homogeneous and inhomogeneous parts together (and two unknowns - n and p) I don't know what to do. Any help on how I would solve this would be appreciated, thanks.
(For where I got this formula from - I found this when thinking about a formula that would give me the minimum number of moves to complete a game of Tower of Hanoi with n discs and p poles.)
This is not a homework question, but something I was wondering about solving difference equations.
For example, how would I solve the following difference equation;
[tex]F_{n} = 2F_{n - 2p + 5} + 6p - 17; n, p \in \mathbb N[/tex]
Since it has homogeneous and inhomogeneous parts together (and two unknowns - n and p) I don't know what to do. Any help on how I would solve this would be appreciated, thanks.
(For where I got this formula from - I found this when thinking about a formula that would give me the minimum number of moves to complete a game of Tower of Hanoi with n discs and p poles.)
Last edited: