(2014•汕头一模)设数列{an}的前n项和为Sn,已知a1=2,3Sn=an+1+(−2)n+2−6,n∈N*.