Anonymous user
Sequence of non-squares: Difference between revisions
m
added whitespace.
(Added Wren) |
m (added whitespace.) |
||
Line 3:
;Task:
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]]:
<big> n + floor(1/2 + sqrt(n)) </big>
* 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
|