Carmichael 3 strong pseudoprimes: Difference between revisions

no edit summary
(Created page with "{{draft Task}} A lot of composite numbers can be detected by the Miller Rabin Test, but there are some that evade it. The purpose of this task is to investigate such numbers....")
 
No edit summary
Line 19:
next d if (Prime2*Prime3) mod (Prime1-1) not equal 1
Prime1 * Prime2 * Prime3 is a Carmichael Number
 
=={{header|Ruby}}==
2,172

edits