Part I: Choose the best answer for each question:

Câu hỏi

How does the sieve of Eratosthenes work? Choose the correct order to explain. 1: Mark all the multiples of 2 (excluding 2)
2: Mark all the multiples of 3 (excluding 3)
3: Mark all the multiples of 5, 7,... (excluding 5, 7,...)
4: List all natural numbers from 2 to M
5: Continue the steps until there are no numbers that are not marked out.

Đáp án
C. 4-1-2-3-5

Câu hỏi thuộc Bài tập:

Week 12 - GC6 - Quiz