Anonymous user
Neighbour primes: Difference between revisions
m
→{{header|REXX}}: added an alias.
(Realize in F#) |
m (→{{header|REXX}}: added an alias.) |
||
Line 256:
=={{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.*/
parse arg hi cols . /*obtain optional argument from the CL.*/
|