设各项均为正数的数列{an}的前n项和为Sn满足Sn2-(n2+n-3)Sn-3(n2+n)=0,n∈N*.