We all know the Fibonacci sequence, but how about a version where you take the sum of squares of two previous numbers:
$$\begin{cases}a_0 = 0\\ a_1=1\\ a_{n} = a_{n-1}^2 + a_{n-2}^2 \end{cases} $$
There is an OEIS entry of this sequence that has the formula
$$a_n = \lfloor A^{2^{n-1}}\rfloor$$ where $A=1.2353927377854368896223310132284408243...$
But how does one get this number and can the generating function of $a_n$ be derived somehow? I've tried it, but the non-linearity seems to hinder the process.