Hello;(adsbygoogle = window.adsbygoogle || []).push({});

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 withndiscs andppoles.)

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solving Difference Equations with Homogeneous and Inhomogeneous Parts?

**Physics Forums | Science Articles, Homework Help, Discussion**