Carmichael 3 strong pseudoprimes: Difference between revisions

m
fixed version headers for REXX.
m (→‎vertical list: changed the format of the output.)
m (fixed version headers for REXX.)
Line 1,184:
 
=={{header|REXX}}==
===vertical list===
Note that REXX's version of &nbsp; '''modulus''' &nbsp; (<big><code>'''//'''</code></big>) &nbsp; is really a &nbsp; ''remainder'' &nbsp; function.
 
Line 1,315:
</pre>
 
===horizontal list===
This REXX version (pre-)generates a number of primes to assist the &nbsp; '''isPrime''' &nbsp; function.
<lang rexx>/*REXX program calculates Carmichael 3─strong pseudoprimes (up to and including N). */