you must decide how the input variable is named: 'n', 'nx' or 'x'!! :-/
I cleaned things up a little.
Hard-coded solutions based on look-up tables for F_n or (F_n)², such as Solution 1506329, should be banned and failed by the Test Suite.
I do not undertand the problem. If you provide the fibonacci sequence, there is nothing to do.
Determine if a Given Number is a Triangle Number
325 Solvers
149 Solvers
Calculate the derivative of a polynomial
172 Solvers
513 Solvers
1213 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!