Find sum $\sum _{k=0}^nF_kF_{n-k}$
My try
Let $$ a_n = \sum _{k=0}^nF_kF_{n-k} // \cdot x^n \\ a_n x^n = \sum _{k=0}^nF_k x^k F_{n-k} x^{n-k} // \sum_n \\ A(x) = (F(x))^2 + \cdots + (F(x))^2 = n\cdot (F(x))^2$$
I have some doubts:
- I am not sure that summing $F_k x^k$ by $n$ gives $F(x)$ (generating functions for $f_n$ sequence)
- If it is true, how can it be finished? There is weird situation. I know that $a_n$ is a element from $\sum _{k \ge 0} F_k \cdot \sum _{k \ge 0} F_k$ multiplied by $n$ but it is not obvious for me how it can be extracted from there.
Hint: Convolution of sequences corresponds to the multiplication of their generating functions. The generating function of Fibonacci sequence is $$F(z) = (\frac{1}{\sqrt5})(\frac{1}{1-\phi z} - \frac{1}{1-\hat{\phi} z})$$
Thus, we need the coefficient of $z^n$ in $F^2(z)$
$F^2(z) = \frac{1}{5}(\frac{1}{(1-\phi z)^2} + \frac{1}{(1-\hat{\phi} z)^2}-\frac{2}{(1-\phi z)(1-\hat{\phi}z)})$
$F^2(z) =\frac{1}{5}(\Sigma_{n\ge 0}(n+1)\phi^n z^n - 2\Sigma_{n\ge 0}f_{n+1} z^n+\Sigma_{n\ge 0}(n+1)\hat{\phi}^n z^n)$
$F^2(z) =\frac{1}{5}(\Sigma_{n\ge 0}(n+1)(2f_{n+1} - f_{n})z^n - 2\Sigma_{n\ge 0}f_{n+1}z^n)$
$\therefore \sum _{k=0}^nf_kf_{n-k} = \frac{2nf_{n+1} - (n+1)f_{n}}{5}$