The sieve of Sundaram: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|REXX}}: changed the whitespace in the REXX section header.) |
||
Line 891: | Line 891: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
For the calculation of the 1,000,000<sup>th</sup> Sundaram prime, it requires a 64-bit version of 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.*/ |
<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*/ |
parse arg n cols . /*get optional number of primes to find*/ |