∴an2=an- 12+ 1
∴an2 is a arithmetic progression, the first term is 1, and the tolerance is 1.
∴an2=n
∴an=n
So the answer is n