Find the nth pell number
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers77
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
Renaming a field in a structure array
1578 Solvers
-
Get the length of a given vector
13100 Solvers
-
345 Solvers
-
Find the max element of the array
2217 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