This question deals with sequence:
$$a_0 = 0,\ a_1 = 7, \quad a_{n+2} = 14a_{n+1} - a_n + 6$$
The question is about establishing that $a_n$ is a composite number (except some finite cases).
In one of the comments to @Gjergji Zaimi's answer, @joro said:
So $a_n$ is the product of two lower order recurrences.
I am not clear on how this conclusion is reached. Also, I would like to see some recurrent formula in different form than original, that illustrates this.
This is interesting to me since I work on some other problems involving primality, and understanding this approach may greately help me.
I appreciate your help.