Find the nth pell number
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers81
Suggested Problems
-
Return the 3n+1 sequence for n
8510 Solvers
-
12543 Solvers
-
Return the first and last characters of a character array
12252 Solvers
-
523 Solvers
-
1008 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