primelist.frink

Download or view primelist.frink in plain text format


// Print a list of primes.
for i=2 to 50000
   if isPrime[i]
      println[i]
   


Download or view primelist.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 19346 days, 22 hours, 26 minutes ago.