The Fibonacci sequence starts with 1, 1, 2, 3, 5, 8, 13, ... .(Start from the 3rd term, each term is the sum of the two previous terms). Let $F_n$ be the $n$th term of this sequence. $S$ is defined as $S=\frac{1}{2}+\frac{1}{4}+\frac{2}{8}+\frac{3}{16}+....+\frac{F_n}{2^n}+....$ Calculate the value of $S$
I have no idea how to solve this, hints aswell as solutions would be appreciated
Taken from the 2013 AITMO
Hint: if you know that the generating function for the Fibonacci sequence is:
$\displaystyle \sum_{n=0}^\infty F_nx^n = \frac{x}{1-x-x^2}$
then you can substitute $x=\frac 1 2$ and you immediately have
$\displaystyle \sum_{n=0}^\infty \frac{F_n}{2^n} = \frac{\frac 1 2}{1-\frac 1 2 -\frac 1 4} =2 $
So to answer questions like this quickly, you should learn about generating functions.