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 Solvers21
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2049 Solvers
-
17440 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
518 Solvers
-
548 Solvers
-
236 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!