Problems > The First N Primes > Editorial

The First N Primes — Solution & Editorial

Back to the Problem

Trial-divide candidates by the primes found so far, up to the square root.

Complexity: small