Coding
41. The Perrin numbers are the numbers in the following integer sequence.
3,0,2,3,2,5,5, 7, 10, 12, 17, 22,29,39...
It is represented as
P(n)=P(n-2)*P(n-3) for n > 2, with initial values
PO) = 3, P(1) = 0,P(2) = 2.
Write a program to implement the same,
Answers
Answered by
0
Answer:
3256842e78665544322367
Similar questions