Wilson primes of order n: Difference between revisions

m
→‎{{header|REXX}}: changed a comment.
(Added Perl)
m (→‎{{header|REXX}}: changed a comment.)
Line 247:
<lang rexx>/*REXX program finds and displays Wilson primes: a prime P such that P**2 divides:*/
/*────────────────── (n-1)! * (P-n)! - (-1)**n where n is 1 ──◄ 11, and P < 18.*/
parse arg oLO oHI hip . /*obtain optional argumentarguments from the CL.*/
if oLO=='' | oLO=="," then oLO= 1 /*Not specified? Then use the default.*/
if oHI=='' | oHI=="," then oHI= 11 /* " " " " " " */