一、选择题(每小题5分,共25分)
1.数列{an}中an+1=an+2-an,a1=2,a2=5,则a5=( )
A.-3 B.-11
C.-5 D.19
解析:由an+1=an+2-an得an+2=an+an+1,所以a3=a1+a2=7,a4=a2+a3=12,a5=a3+a4=19.
答案:D
2.数列{an}满足a1=1,a2=3,an+1=(2n-λ)an,则a3等于( )
A.5 B.9
C.10 D.15
解析:∵数列{an}满足a1=1,a2=3,an+1=(2n-λ)an,∴3=(2-λ)×1,解得λ=-1.∴a3=(2×2+1)a2=5×3=15.故选D.
答案:D