Ulam numbers: Difference between revisions
Content deleted Content added
m →{{header|Phix}}: added 100,000th number as a final comment. |
m →{{header|REXX}}: added output for the 10,000th Ulam number. |
||
Line 240:
end /*f*/
end /*j*/; return @.# /*return the Nth Ulam number to caller.*/</lang>
{{out|output|text= when using the
<pre>
the 10th Ulam number is: 18
the 100th Ulam number is: 690
the 1,000th Ulam number is: 12,294
the 10,000th Ulam number is: 132,788
</pre>
|