Problem 56240. List numbers that are not squares
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 commentsProblem Recent Solvers15
Suggested Problems
-
3221 Solvers
-
Set some matrix elements to zero
509 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
366 Solvers
-
160 Solvers
-
Spot the First Occurrence of 5
415 Solvers
More from this Author244
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!