Concatenate two primes is also prime: Difference between revisions
Concatenate two primes is also prime (view source)
Revision as of 14:14, 29 August 2021
, 2 years ago→{{header|ALGOL 68}}: Added libheader
(→{{header|ALGOL 68}}: Use ALGOL 68-primes) |
(→{{header|ALGOL 68}}: Added libheader) |
||
Line 6:
=={{header|ALGOL 68}}==
{{libheader|ALGOL 68-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 #
|