Carmichael 3 strong pseudoprimes: Difference between revisions
Carmichael 3 strong pseudoprimes (view source)
Revision as of 16:29, 12 November 2023
, 6 months ago→{{header|ALGOL 68}}: Avoid line-wrap
(Added Chipmunk Basic and Gambas) |
(→{{header|ALGOL 68}}: Avoid line-wrap) |
||
Line 179:
IF is prime[ prime3 ] THEN
IF ( prime2 * prime3 ) MOD ( prime1 - 1 ) = 1 THEN
print( ( whole( prime1, 0 ), " ", whole( prime2, 0 ), " ", whole( prime3, 0 )
print( ( newline ) )
FI
FI
Line 218 ⟶ 219:
61 3361 4021
</pre>
=={{header|Arturo}}==
<syntaxhighlight lang="arturo">printOneLine: function [a,b,c,d]->
|