Now that you have the formula for an, compute (an)2 + (an+1)2, and see to which am it corresponds.

You might simplify your computations by noticing that the two numbers involved (the roots of the denominator of the LHS) have product equal to -1.