I need to find a recursive solution to the below problem.
$$a_n=n(n-1)$$ for $n \in \mathbb{N}$
Calculating some values gives
\begin{align*} a_1&= 1\cdot (0)=0\\ a_2&= 2\cdot (2-1)=2\\ a_3&= 3\cdot(3-1)=6\\ a_4&= 4\cdot (4-1)=12\\ a_5&= 5\cdot(5-1)=20\\ a_6&= 6\cdot(6-1)=30 \end{align*}
I came up with $a_n=a_{n-1} + 2\cdot(n-1)$. This seems to work for all values. Is this correct?