已知数列{an}满足ak+a(n-k)=2,(k,n-k∈N*),则数列{an}的前n项和Sn=