subject
Mathematics, 17.04.2021 18:50 amarshall90

Construct a sieve of Eratosthenes for the numbers from 2 to 100. (Write all the integers from 2 to 100. Cross out all multiples of 2 except 2 itself, then all the multiples of 3 except 3 itself, then all multiples of 5 except 5 itself, and so forth. Continue crossing out multiples of each successive prime number up to 100. The numbers that are not crossed out are the prime numbers from 2 to 100.) Use the test for primality and your sieve of Eratosthenes to determine whether the following numbers are prime. Test for Primality
Given an integer n > 1, to test whether n is prime check to see if it is divisible by a prime number less than or equal to its square root. If it is not divisible by any of these numbers, then it is prime.
1) Let n = 8,381.
How many prime numbers are less than or equal to the square root of n?
Is n divisible by any of these numbers?
A) Yes
B) No
Is n prime?
A) Yes
B) No
2) Let n = 9,157.
How many prime numbers are less than or equal to the square root of n?
Is n divisible by any of these numbers?
A) Yes
B) No
Is n prime?
A) Yes
B) No
3) Let n = 8,629.
How many prime numbers are less than or equal to the square root of n?
Is n divisible by any of these numbers?
A) Yes
B) No
Is n prime?
A) Yes
B) No
4) Let n = 9,867.
How many prime numbers are less than or equal to the square root of n?
Is n divisible by any of these numbers?
A) Yes
B) No
Is n prime?
A) Yes
B) No

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 15:30
The area of a rectangle is 15+5y square feet. which of the following expressions could be the length of the sides of the rectangle, in feet a. 5 and 3y b. 5 and 3+y c. 5 and 5+y d. 3 and 5+3y
Answers: 1
question
Mathematics, 21.06.2019 20:00
Which of these tools or constructions is used to inscribe a hexagon inside a circle?
Answers: 1
question
Mathematics, 21.06.2019 20:30
List x1, x2, x3, x4 where xi is the left endpoint of the four equal intervals used to estimate the area under the curve of f(x) between x = 4 and x = 6. a 4, 4.5, 5, 5.5 b 4.5, 5, 5.5, 6 c 4.25, 4.75, 5.25, 5.75 d 4, 4.2, 5.4, 6
Answers: 1
question
Mathematics, 21.06.2019 23:30
The perimeter of an equilateral triangle is 4 cm more than the perimeter of a square and the length of a side of the triangle is 8 cm more than the length of a side of the aware. find the length of a side of the equilateral triangle
Answers: 1
You know the right answer?
Construct a sieve of Eratosthenes for the numbers from 2 to 100. (Write all the integers from 2 to 1...
Questions
question
Mathematics, 24.01.2020 10:31
question
Mathematics, 24.01.2020 10:31
question
Biology, 24.01.2020 10:31
Questions on the website: 13722363