数列{an}的通项an=n2(cos2(n派/3)-sin(2n派/3),其前n项和为Sn