Sequence of non-squares: Difference between revisions

Replaced "round.int" by "toInt". Simplified "issqr". Replaced "proc" by "func". Improved output.
(Replaced "round.int" by "toInt". Simplified "issqr". Replaced "proc" by "func". Improved output.)
(Replaced "round.int" by "toInt". Simplified "issqr". Replaced "proc" by "func". Improved output.)
Line 1,627:
echo "\nNo squares were found for n less than 1_000_000."</lang>
{{out}}
<pre>Sequence for n = 22:
<pre>@[2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27]</pre>
 
No squares were found for n less than 1_000_000.</pre>
 
=={{header|OCaml}}==
Anonymous user