Problem 3092. Return fibonacci sequence do not use loop and condition
Solution Stats
Problem Comments
-
7 Comments
Solve other problems from the problem set, Basics - Fibonacci, and the answer will reveal itself to you (after a little reflection). I promise.
Could you please tell me how to use recursion without condition?
Nice!
Interesting problem!!
It does require understanding of linear reccurence relations with constant coefficients. Interesting problem overall
Hint Instead using round which is forbidden.Try cast to other data types guys ( ͡° ͜ʖ ͡°)
you can use golden ratio for this problem.
Solution Comments
Show commentsProblem Recent Solvers547
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49319 Solvers
-
Project Euler: Problem 3, Largest prime factor
1430 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1150 Solvers
-
359 Solvers
-
The Answer to Life, the Universe, and Everything
528 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!