I have been trying to work through the beginning of Generating Functionology. In the first chapter, the author mentions that it is possible to using generating functions to solve for a Fibonacci-like sequence ($a_{n+1}=a_n+a_{n-1}$) where we have $a_b, a_c$ such that b and c are not adjacent integers. The books goes on to solve a more difficult problem, but I wanted to try it for that problem in particular.
Following the method in the book, I have $a_{n+1}=a_n+a_{n-1}, (a_b, a_c, n \geq 1)$ So we know two specific values of the sequence, but they are not necessarily adjacent, and we know the sequence is defined for all values greater than or equal to 1. Naturally, $A(x)= \sum_{n \geq 1} a_n * x^n$.
Following the next step, we have that $\sum_{n \geq 1} a_n * x^n = A(x)/x - a_1$ We also have that $\sum_{n \geq 1} a_n * x^n + \sum_{n \geq 1}^{???} a_{n-1} * x^n = A(x)+A(x)*x+a_0x$. Clearly, from here it should not be too difficult to work form here.
My issue come from the (???) section. At that point in the sequence, we are requiring the evaluation of $a_0$. In fact, we require it later as well. But I described the sequence without defining $a_0$. It is outside the scope.
Am I mis-defining my problem, solving incorrectly, or doing something entirely different that is incorrect? Thank you very much.
Let $a_{n+1}=a_n+a_{n-1} (n\geq 1)$ and $a_M,a_N$ given boundary values $(0\leq M < N)$.
Following the recipe according to section 1.4 from Wilf's Generatingfunctionology we get
Now we can use $A_{M,N}(x)$ to get
\begin{align*} \frac{1}{x}\left(A_{M,N}(x)-a_{M+1}x^{M+1}-a_Mx^M\right)-\left(A_{M,N}(x)-a_{M}x^{M}-a_Nx^N\right)&\\ \quad-x\left(A_{M,N}(x)-a_{N-1}x^{N-1}-a_Nx^N\right)&=0\\ \end{align*}
Note: Observe, that the calculation in section 1.4 is somewhat simpler. This is due to the fact, that the given boundary values in Wilf's example are $u_0=u_N=0$ and so they vanish. But we have to calculate based upon the given values $a_M$ and $a_N$ in order to determine the unknowns $a_{M+1}$ and $a_{N-1}$.
We use the same technique as in section 1.4 and calculate the zeros $x_0=-\frac{1-\sqrt{5}}{2}$ and $x_1=-\frac{1+\sqrt{5}}{2}$ of the quadratic equation $x^2+x-1=(x-x_0)(x-x_1)$ in $(1)$. (Please note, that $x_0=-r_{-}$ and $x_1=-r_{+}$ in Wilf's example.) Substituting therefore $x_0$ and $x_1$ in $(1)$ we get two linear equations in the two unknowns $a_{M+1}$ and $a_{N-1}$.
Solving these equations by consequently using $1+x_0=x_1, 1+x_1=x_0, x_0x_1=-1, x_0+x_1=-1$ and $x_1-x_0=-\sqrt{5}$ gives
and finally by substituting for $x_0$ and $x_1$
Note: If we assume $a_M,a_N$ being ordinary Fibonacci numbers we could use the explicit formula for them (see e.g. Wilf's section $3$, formula $(1.3.3)$)
\begin{align*} a_n=\frac{(-1)^n}{\sqrt{5}}\left(x_1^n-x_0^n\right)=\frac{1}{\sqrt{5}}\left(\left(\frac{1+\sqrt{5}}{2}\right)^n-\left(\frac{1-\sqrt{5}}{2}\right)^n\right) \end{align*}
Added 2014-07-04: Some additional information according to the comment of thoth19
Let's assume we start with given $a_M$ and $a_N$. If we are interested in the natural domain of a generating function for the generalized Fibonacci sequence, we should keep in mind, that the recursion formula
$$a_{n+1}=a_n+a_{n-1}\qquad\qquad(n\geq 1)$$
has as natural domain $n\geq 1$. So, the generalized Fibonacci sequence wants to start with $a_0, a_1$, etc.
The benefit thereby is, that we do not need to cope with the rather complicated GF $A_{M,N}(x)$ which is only due to the artificial circumstance of already known $a_M$ and $a_N$. If we normalise the approach to the natural domain of the recurrence formula and work with $a_0$ and $a_1$ instead everything becomes much easier and we'll gain a better insight.
Two hints (hopefully correctly calculated):
Final Note to your question: GF mostly useless? No, indeed! Generating functions are an important instrument which provides often deep insights, which could otherwise be hardly found. But, we have to think about which GF is most suitable for our needs! To emphasize this aspect you could look at point $3$ of my answer to this question about IEP, which is also based upon Wilf's Generatingfunctionology (section $4.2$)
Btw: You can find another kind of generalisation of Fibonacci numbers at the end of my answer to this question