Ulam numbers: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
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=&nbsp; when using the defaultinput inputsof: &nbsp; &nbsp; <tt> 10 &nbsp; 100 &nbsp; 1000 &nbsp; 10000 </tt>}}
<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>