

Step 2: Circle the smallest number which is 2 in the table. Step 1: Make a table of 5 rows and 10 columns starting with 1 and continuing until 50, as shown below. The Sieve of Eratosthenes algorithm is used as shown in the following steps. In order to find the prime numbers from 1 to 50, we can use the Sieve of Eratosthenes algorithm as this algorithm helps us to list all prime numbers quickly, up to a given number.

