已知数列{an}满足an=n/2的n次方,求Sn