若数列an满足a1=2,an+a(n+1)=3t•2的n次方,t为常数,求数列an前n项和