单选题
A certain computer program generates a sequence of numbers P
1
,P
2
,……P
n
,by the rules P
1
=1,P
2
=1,and for n≥3,P
n
=P
n+1
+p
n-2
,Which of the following equals P
5
?
A. 10 B. 11 C. 14
D. 15 E. 17
A
B
C
D
E
【正确答案】
B
【答案解析】
44。某计算机程序根据规则P
1
=1,P
2
=1,并且对于n≥3,P
n
=P
n-1
+2P
n-2
产生一系列数字P
1
,P
2
,……P
n
问下面哪一项等于P
5
?
解答本题时只要把数字代入规则即可:
P
3
=P
2
+2P
1
=1+2=3
P
4
=P
3
+2P
2
=3+2=5
P
5
=P
4
+2P
3
=5+6=11
提交答案
关闭