Jump to content

Primorial primes: Difference between revisions

m
Line 31:
<br><br>
=={{header|ALGOL 68}}==
Basic task. Assumes LONG INT is at least 64 bit. Similar to the [[Factorial primes#ALGOL_68]] ALGOL 68 sample.
<lang algol68>BEGIN # find some primorial primes - primes that are p - 1 or p + 1 #
# for some primorial p #
3,045

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.