Pell numbers: Difference between revisions
→{{header|ALGOL 68}}: Added works with and removed unused procedure
(Added Algol 68) |
(→{{header|ALGOL 68}}: Added works with and removed unused procedure) |
||
Line 97:
=={{header|ALGOL 68}}==
{{Trans|FreeBASIC|using Millar Rabin for finding Pell primes and some minor output format differences and showing 10 Pell primes}}
{{works with|ALGOL 68G|Any - tested with release 2.8.3.win32}}
Should work with any implementation of Algol 68 if LONG INT is large enough to hold the 90th Pell number/
{{libheader|ALGOL 68-primes}}
<syntaxhighlight lang="algol68">
Line 103 ⟶ 104:
PR read "primes.incl.a68" PR
INT n;
|