Anonymous user
The sieve of Sundaram: Difference between revisions
m
→{{header|REXX}}: changed the whitespace in the REXX section header.
No edit summary |
m (→{{header|REXX}}: changed the whitespace in the REXX section header.) |
||
Line 891:
=={{header|REXX}}==
For the calculation of the 1,000,000<sup>th</sup> Sundaram prime, it requires a 64-bit version of REXX.
<lang rexx>/*REXX program finds & displays N Sundaram primes, or displays the Nth Sundaram prime.*/
parse arg n cols . /*get optional number of primes to find*/
|