数列an的前n项和Sn满足Sn=2n/n+1,求an?