Track Scala
Scala track

Sieve

An exercise from the Scala track
easy

About this exercise

Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.

filtering
lists
math
View all solutions