设等差数列{an}的前n项和为Sn,且Sn=(1/2)nan+an-c(c是常数,n∈N*),a2=6