单选题 A certain computer program generates a sequence of numbers P1,P2,……Pn,by the rules P1=1,P2=1,and for n≥3,Pn=Pn+1+pn-2,Which of the following equals P5?
A. 10 B. 11 C. 14
D. 15 E. 17

【正确答案】 B
【答案解析】44。某计算机程序根据规则P1=1,P2=1,并且对于n≥3,Pn=Pn-1+2Pn-2产生一系列数字P1,P2,……Pn问下面哪一项等于P5?
解答本题时只要把数字代入规则即可:
P3=P2+2P1=1+2=3
P4=P3+2P2=3+2=5
P5=P4+2P3=5+6=11