Hello, Joseph,
Paul M.'s answer is correct. I thought I'd add my comments, in case they help.
I initially had trouble understanding "an = (an -1) ^2 - 1"
I rewrote it: an = (an - 1)2 - 1
The way it was written, I first thought "an" was a variable from which 1 was subtracted before raising to the 2-1 power.
Using the above interpretation, one finds the same numbers as Paul M.: