# Last digit

Number Theory Level 3

A progression is defined by $$a_1=3$$ and $a_{n+1}=a_n+a_{n}^2$ for every natural number $$n\geq 1$$. What is the last digit of $$a_{2015}$$?

×