已知数例{an}满足a1=1,a(n+1)=2an+1求数例{an}前n项和