Primes whose first and last number is 3: Difference between revisions
Primes whose first and last number is 3 (view source)
Revision as of 17:13, 24 July 2021
, 2 years ago→{{header|ALGOL 68}}: Fixed notes
(→{{header|ALGOL 68}}: Note) |
(→{{header|ALGOL 68}}: Fixed notes) |
||
Line 12:
=={{header|ALGOL 68}}==
{{Trans|ALGOL W}} With added stretch goal. As with the Go and other samples, generates the candidate sequence.
<lang algol68>BEGIN # find some primes whose first and last digits are 3 #
INT max prime = 1 000 000; # largest number to consider #
|