Carmichael 3 strong pseudoprimes: Difference between revisions
Content deleted Content added
Add Perl |
m →{{header|REXX}}: removed OVERFLOW from PRE html tag. |
||
Line 787: | Line 787: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
Note that REXX's version of '''modulus''' ('''//''') is really a ''remainder'' function, |
Note that REXX's version of '''modulus''' (<big>'''//'''</big>) is really a ''remainder'' function, |
||
<br>so a version of the '''modulus''' function was hard-coded below. |
<br>so a version of the '''modulus''' function was hard-coded below. |
||
<br>(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.) |
||
Line 830: | Line 830: | ||
'''output''' when using the default input |
'''output''' when using the default input |
||
<br><br>The Carmichael numbers were grouped by the first Carmichael number. |
<br><br>The Carmichael numbers were grouped by the first Carmichael number. |
||
<pre style="height:50ex |
<pre style="height:50ex> |
||
──────── a Carmichael number: 3 ∙ 11 ∙ 17 |
──────── a Carmichael number: 3 ∙ 11 ∙ 17 |
||