Find adjacent primes which differ by a square integer: Difference between revisions
Find adjacent primes which differ by a square integer (view source)
Revision as of 15:38, 21 November 2021
, 2 years ago→{{header|ALGOL 68}}: D'oh!
Thundergnat (talk | contribs) m (→{{header|Raku}}: re-enable caveat) |
(→{{header|ALGOL 68}}: D'oh!) |
||
Line 18:
FOR i TO UPB is square DO is square[ i ] := FALSE OD;
FOR i WHILE INT i2 = i * i;
DO
is square[ i2 ] := TRUE
|