Neighbour primes: Difference between revisions
Content added Content deleted
(Realize in F#) |
m (→{{header|REXX}}: added an alias.) |
||
Line 256: | Line 256: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
'''Neighbor''' primes can also be spelled '''neighbour''' primes. |
|||
<lang rexx>/*REXX program finds neighbor primes: P, Q, P*Q+2 are primes, and P < some specified N.*/ |
<lang rexx>/*REXX program finds neighbor primes: P, Q, P*Q+2 are primes, and P < some specified N.*/ |
||
parse arg hi cols . /*obtain optional argument from the CL.*/ |
parse arg hi cols . /*obtain optional argument from the CL.*/ |