Carmichael 3 strong pseudoprimes: Difference between revisions
Carmichael 3 strong pseudoprimes (view source)
Revision as of 09:19, 13 November 2023
, 6 months ago→{{header|RPL}}: tweaked the code
(added RPL) |
m (→{{header|RPL}}: tweaked the code) |
||
Line 3,289:
{{works with|HP|49}}
« { }
2 p1 1 - '''FOR''' h3
DUP ISPRIME? NOT '''
p1 OVER *
DUP ISPRIME? NOT
DUP2 * p1
'''END'''
'''
'''
'''NEXT'''
p1 NEXTPRIME 1 - 'p1' STO
|