Generating function polynomial recurrence relation e.g. $a_{n+1}=a_n^2+a_n+1$

81 Views Asked by At

Suppose $(a_n)_n$ satisfies for example the following recurrence relation: $$ a_{n+1}=a_n^2+a_n+1, $$ is the notion of generating function etc. to analyse the sequence $(a_n)_n$ still applicable on this type of problem? Or does this whole concept disappear on this type of recurrence relation because of $\sum_n a_n^2 x^n$?