Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Prime numbers

A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.

Sieve of Eratosthenes

The Sieve of Eratosthenes is a simple, ancient algorithm for finding all prime numbers in a bounded set.

Characteristics

Complexity

🔔 Complexity is considered in terms of worst case.

Time complexity

Notes
Θ(n log log n)

Space complexity

TODO