I am trying to get the formula $F_n = \frac{\phi^n - \psi^n}{\phi - \psi}$ using generating functions. I managed to find that $G_F(x) = \frac{1}{1 - x - x^2}$ then I used partial fraction decomposition to find that $$G_F(x) = \frac{1}{\phi - \psi} \Biggl(\frac{1}{x - \psi} - \frac{1}{x - \phi}\Biggr)$$
After that I took the following steps to simplify: $$G_F(x) = \frac{1}{\phi - \psi} \Biggl(\frac{\frac{1}{\psi}}{\frac{x}{\psi} - 1} - \frac{\frac{1}{\phi}}{\frac{x}{\phi} - 1}\Biggr)$$
$$ = \frac{1}{\phi - \psi} \Biggl(\frac{\psi}{\frac{x}{\phi} - 1} - \frac{\phi}{\frac{x}{\psi} - 1}\Biggr), since\ \psi = -\frac{1}{\phi}$$
$$ = \frac{1}{\phi - \psi} \Biggl(\frac{\psi}{-\psi x - 1} - \frac{\phi}{-\phi x - 1}\Biggr)$$
$$ = \frac{1}{\phi - \psi} \Biggl(\frac{\phi}{\phi x + 1} - \frac{\psi}{\psi x + 1}\Biggr) $$
The issue is that this function generates the series
$$a_n = \frac{\phi \cdot (-\phi)^n - \psi \cdot (-\psi)^n}{\phi - \psi}$$
Now, the $n + 1$ as the exponent is probably due to the fact that I started my series with $1$ instead of $0$.But I don't understand why is my series so close yet false.
Thanks to @halrankard, I found out that I messed up with the sign of the constants here. In my solution, $\phi_{wrong} = -\phi$ and $\psi_{wrong} = -\psi$. Replacing $-\phi$ by $\phi$ and $-\psi$ by $\psi$ in the final formula yields:
$$ F_n = \frac{-\phi * \phi ^ n - (-\psi * \psi ^ n)}{-\phi - (-\psi)} $$ $$ = \frac{\psi ^ {n + 1} - \phi ^ {n + 1}}{\psi - \phi} $$ $$ = \frac{\phi ^ {n + 1} - \psi ^ {n + 1}}{\phi - \psi} $$
Note that the $n + 1$ in the exponent comes from the fact that I ignored the term $F_0 = 0$ when computing my generating function