Cyclops numbers: Difference between revisions
Content added Content deleted
(Added AppleScript.) |
m (→{{header|ALGOL 68}}: Removed extraneous "<") |
||
Line 153: | Line 153: | ||
{{libheader|ALGOL 68-primes}} |
{{libheader|ALGOL 68-primes}} |
||
Note the source of the ALGOL 68-primes library is on a Rosetta Code linked from the above. |
Note the source of the ALGOL 68-primes library is on a Rosetta Code linked from the above. |
||
<syntaxhighlight lang="algol68">BEGIN # show cyclops numbers - numbers with a 0 in the middle and no other 0 digits # |
|||
INT max prime = 100 000; |
INT max prime = 100 000; |
||
# sieve the primes to max prime # |
# sieve the primes to max prime # |