Math, asked by piyush1363, 1 year ago

Prepare a sieve for prime numbers.​

Answers

Answered by gautam727
0

Step-by-step explanation:

In mathematics, the Sieve of Eratosthenes is a simple, ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the first prime number, 2.


piyush1363: thank u sir for your answer
Similar questions