Special neighbor primes: Difference between revisions

m
→‎{{header|ALGOL 68}}: Added link to the Neighbour primes task
m (→‎{{header|ALGOL 68}}: Avoid line-wrap)
m (→‎{{header|ALGOL 68}}: Added link to the Neighbour primes task)
Line 94:
=={{header|ALGOL 68}}==
{{libheader|ALGOL 68-primes}}
Very similar to [[Neighbour_primes#ALGOL_68|The ALGOL 68 sample in the Neighbour primes task]]
<syntaxhighlight lang="algol68">BEGIN # find adjacent primes p1, p2 such that p1 + p2 - 1 is also prime #
PR read "primes.incl.a68" PR
3,032

edits