Carmichael 3 strong pseudoprimes: Difference between revisions
Content added Content deleted
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 '''modulus''' (<big><code>'''//'''</code></big>) is really a ''remainder'' function.
Line 1,315:
</pre>
===horizontal list===
This REXX version (pre-)generates a number of primes to assist the '''isPrime''' function.
<lang rexx>/*REXX program calculates Carmichael 3─strong pseudoprimes (up to and including N). */
|