Least m such that n! + m is prime: Difference between revisions
Least m such that n! + m is prime (view source)
Revision as of 09:07, 13 November 2023
, 7 months ago→{{header|RPL}}: cleaned the code
m (→{{header|RPL}}: typo) |
(→{{header|RPL}}: cleaned the code) |
||
Line 359:
=={{header|RPL}}==
« 49 0 «
→ max ←n m
» '<span style="color:blue">A33932</span>' STO▼
« m '←n' 0 max 1 SEQ
max '←n' STO
'''DO''' '←n' INCR DROP m EVAL
'''
←n
{{out}}
<pre>
|