Problem 2269. Create the following sequence : 0 1 1 4 9 25 64 169 ...
31.61% Correct | 68.39% Incorrect
Last Solution submitted on May 30, 2023
J.R.! Menzinger on 8 Apr 2014
you must decide how the input variable is named: 'n', 'nx' or 'x'!! :-/
Ned Gulley on 8 Apr 2014
I cleaned things up a little.
David Verrelli on 27 Apr 2018
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.
Solution CommentsShow comments
Problem Recent Solvers129
Output any real number that is neither positive nor negative
Matlab Basics - Logical Tests I
More from this Author8
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!