Track Lua
Lua track

Sieve

An exercise from the Lua track
medium

About this exercise

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

control flow if else statements
control flow loops
math
View all solutions