Jump to content

Pierpont primes: Difference between revisions

Line 36:
# construct a sieve of primes up to 10 000 #
PR read "primes.incl.a68" PR
[ 1 : 10 000 ]BOOL prime = PRIMESIEVE 10 000;
# returns the minimum of a and b #
PROC min = ( INT a, b )INT: IF a < b THEN a ELSE b FI;
3,045

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.