Largest difference between adjacent primes: Difference between revisions
Largest difference between adjacent primes (view source)
Revision as of 22:44, 19 November 2021
, 2 years ago→{{header|ALGOL 68}}: Typos
(Added XPL0 example.) |
(→{{header|ALGOL 68}}: Typos) |
||
Line 7:
=={{header|ALGOL 68}}==
Note, to run this with Algol 68G, the command line option <code>--heap 256M</code>
As with the Wren, Phix, etc. samples, shows the gaps
{{libheader|ALGOL 68-primes}}
<lang algol68>BEGIN # find the largest gap between adjacent primes up to 10 000 000 #
|