Let a sequence $(a_n)$ by $a_1=1,\ a_2=4,\ a_{n}=a_{n-1}+a_{n-2}$
Denote $f(x)=\sum_{i=1}^\infty a_i x^i$. For which $0
I tried tackling this problem (I found online) yet I only thought of expressing $a_n$ with only $n$. I think it's not going to help much and the closed formula is rather ugly (I think I could do it using the same trick done for Fibbonaci with diagonalization of matrices).
I'm not too much of an exprert when it comes to this kind of questions (as I know only some Linear Algebra and Calculus) so I probably won't understand too complicated solutions, which I ask you to refrain from. If you have a doubt whether I know something you're welcome to ask me in the comments.
Other than that I do thank for any help in advance!
EDIT: I now see that $x$ much be rational, as otherwise $f(x)$ isn't rational. But how do I know which rationals satisfy this?