已知数列{an}中,an=2n+1,n=2m−12n,n=2m,m为正整数,前n项和为Sn,则S5=_.

问题描述:

已知数列{an}中,an=

2n+1,n=2m−1
2n,n=2m
,m为正整数,前n项和为Sn,则S5=______.

∵an=

2n+1,n=2m−1
2n,n=2m
,m为正整数,
∴S5=3+22+7+24+11=41.
故答案为:41.