Anonymous user
Sequence of non-squares: Difference between revisions
m
added whitespace and highlighting to the task's preamble.
m (Moved a comment out of the task's requirements.) |
m (added whitespace and highlighting to the task's preamble.) |
||
Line 4:
Show that the following remarkable formula gives the [http://www.research.att.com/~njas/sequences/A000037 sequence] of non-square [[wp:Natural_number|natural numbers]]:
n + floor(1/2 + sqrt(n))
* Print out the values for <big> n </big> in the range '''1''' to '''22'''
* Show that no squares occur for <big> n </big> less than one million
|