Primes whose first and last number is 3: Difference between revisions

Content added Content deleted
(→‎{{header|ALGOL 68}}: Added stretch goal)
Line 12: Line 12:


=={{header|ALGOL 68}}==
=={{header|ALGOL 68}}==
{{Trans|ALGOL W}} As with the Go and other samples, generates the candidate sequence.
{{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 #
<lang algol68>BEGIN # find some primes whose first and last digits are 3 #
INT max prime = 1 000 000; # largest number to consider #
INT max prime = 1 000 000; # largest number to consider #