0,2,6,12,20,30,42 constitute a sequence to find the general term formula

0,2,6,12,20,30,42 constitute a sequence to find the general term formula

an=n(n-1)