Concatenate two primes is also prime: Difference between revisions
Content added Content deleted
(→{{header|ALGOL 68}}: Use ALGOL 68-primes) |
(→{{header|ALGOL 68}}: Added libheader) |
||
Line 6: | Line 6: | ||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
{{libheader|ALGOL 68-primes}} |
|||
<lang algol68>BEGIN # find primes whose decimal representation is the concatenation of 2 primes # |
<lang algol68>BEGIN # find primes whose decimal representation is the concatenation of 2 primes # |
||
INT max low prime = 99; # for the task, only need component primes up to 99 # |
INT max low prime = 99; # for the task, only need component primes up to 99 # |