数列{an}的前n项和Sn,满足2Sn=an+1-2的n+1(n∈N),且a1,a2+5,a3成等差数列