What is the general formula of 1,3,7,13,21 What is the general formula of 1,3,7,13,21,31

What is the general formula of 1,3,7,13,21 What is the general formula of 1,3,7,13,21,31

1*0+1
1*2+1
2*3+1
3*4+1
General term formula: (n-1) * n + 1