Strong and weak primes: Difference between revisions

m
(Added Algol 68)
Line 73:
INT max number = 10 000 000;
# construct a sieve of primes up to slightly more than the maximum number #
# required for the task, as we may need an extra prime for the classification #
[ 1 : max number + 1 000 ]CHAR primes;
sieve( primes );
3,054

edits