Problem 3092. Return fibonacci sequence do not use loop and condition
31.07% Correct | 68.93% Incorrect
Last Solution submitted on May 27, 2023
Show 3 older comments
Rafael S.T. Vieira on 12 Jul 2020
Solve other problems from the problem set, Basics - Fibonacci, and the answer will reveal itself to you (after a little reflection). I promise.
泽丰 张 on 12 Sep 2020
Could you please tell me how to use recursion without condition?
Denilson Menezes on 17 Sep 2020
Jiseon Shin on 1 Nov 2020
Miroslav Popovic on 4 Feb 2022
It does require understanding of linear reccurence relations with constant coefficients. Interesting problem overall
Tran Tran on 20 Mar 2022
Hint Instead using round which is forbidden.Try cast to other data types guys ( ͡° ͜ʖ ͡°)
Solution CommentsShow comments
Problem Recent Solvers439
Create a vector whose elements depend on the previous element
Find the next Fibonacci number
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!