Track PHP
PHP track

Sieve

An exercise from the PHP track
easy

About this exercise

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

filtering
math
View all solutions