Seeking sequence: 0,6, - 6,18, - 30,66 General term formula

Seeking sequence: 0,6, - 6,18, - 30,66 General term formula

a1=0
a2=6=a1+6
a3=-6=a2-12
a4=18=a3+24
a5=-30=a4-48
a6=66=a5+96
……
an=a(n-1)-3*(-2)^(n-1)
Add all the formulas to get
an=0+6-12+24-…… -3*(-2)^(n-1)
=6*[1-(-2)^(n-1)]/[1-(-2)]
=2*[1-(-2)^(n-1)]
=(-2)^n+2