Find the nth pell number
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers82
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6866 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
991 Solvers
-
Area of an equilateral triangle
7021 Solvers
-
Is this triangle right-angled?
6860 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The wikipedia link defines Pell numbers somewhat differently from the required solutions. E.g. P_6 is set to 29 in the required solutions, but according to wikipedia, it is P_5 that is 29; P_6 = 70