{an}是等比数列,a7=1,a4,a5+1,a6成等差数列,求an和证明前n项和Sn