Problem 45253. Pell numbers
Find the nth pell number
Solution Stats
Problem Comments
-
1 Comment
Christos Saragiotis
on 24 Nov 2023
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
Solution Comments
Show commentsProblem Recent Solvers76
Suggested Problems
-
We love vectorized solutions. Problem 1 : remove the row average.
883 Solvers
-
Generate a random matrix A of (1,-1)
398 Solvers
-
663 Solvers
-
Replace secondary diagonal elements of a square array
182 Solvers
-
2134 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!