Anonymous user
Carmichael 3 strong pseudoprimes: Difference between revisions
Carmichael 3 strong pseudoprimes (view source)
Revision as of 13:59, 16 September 2015
, 8 years ago→{{header|REXX}}: elided an extra comment that was left over from an edit.
m (Added the Sidef language) |
m (→{{header|REXX}}: elided an extra comment that was left over from an edit.) |
||
Line 1,044:
carms=carms+1; @.q=r /*bump Carmichael #; add to array*/
if bot==0 then bot=q; bot=min(bot,q); top=max(top,q)
end /*d*/ /* [↑] find minimum and maximum.*/
end /*h3*/
Line 1,066 ⟶ 1,065:
end /*i*/
!.x=1; return 1</lang>
'''output''' when using the default input:
<pre style="height:50ex">
──────── a Carmichael number: 3 ∙ 11 ∙ 17
|