Jump to content

Carmichael 3 strong pseudoprimes: Difference between revisions

m
→‎{{header|REXX}}: changed a comment in the REXX section header. -- ~~~~
m (→‎{{header|REXX}}: added whitespace to the REXX section header, added a comment to the output section. -- ~~~~)
m (→‎{{header|REXX}}: changed a comment in the REXX section header. -- ~~~~)
Line 476:
 
=={{header|REXX}}==
Note that REXX's version of   '''modulus'''   ('''//''')   is really a   ''remainder''   function, so a version of
<br>so a version of the &nbsp; '''modulus''' &nbsp; function was hard-coded below (it was necessary to use '''modulus''' instead of '''remainder''' when using a negative value).
<br>(It was necessary to use '''modulus''' instead of '''remainder''' when using a negative value.)
===numbers in order of calculation===
<lang rexx>/*REXX program calculates Carmichael 3-strong pseudoprimes (up to N).*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.