The numbers 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, etc. are not perfect squares. Write a function to list the nth term in this sequence. Check the test suite to see which functions are banned for this problem. For background music while solving this problem, you can listen to Dave Brubeck’s Unsquare Dance.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers22
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1326 Solvers
-
Rosenbrock's Banana Function and its derivatives
167 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
652 Solvers
-
369 Solvers
-
calculate PI without using pi function
108 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!