You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

273 B

Primes with go

A simple program that calculates prime numbers with multithreading. The resulting numbers are written to stdout and to the file primes.txt.

Usage

# compile
go build primes.go

# executable
chmod +x ./primes

# run
./primes [<start number>]