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
In δabc, if the length of side b is 3 centimeters and the measures of ∠b and ∠c are 45° and 60°, respectively, what is the length of side c to two decimal places?
Answers: 1
question
Mathematics, 21.06.2019 18:00
Assume that the weights of quarters are normally distributed with a mean of 5.67 g and a standard deviation 0.070 g. a vending machine will only accept coins weighing between 5.48 g and 5.82 g. what percentage of legal quarters will be rejected? round your answer to two decimal places.
Answers: 1
question
Mathematics, 21.06.2019 21:00
Campus rentals rents 2 and 3 bedrooms apartments for $700 ans $900 a month respectively. last month they had six vacant apartments and reported $4600 in lost rent. how many of each type of apartment were vacant?
Answers: 1
question
Mathematics, 21.06.2019 22:00
Jayne is studying urban planning and finds that her town is decreasing in population by 3% each year. the population of her town is changing by a constant rate.true or false?
Answers: 3
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, 23.04.2021 22:20
question
Mathematics, 23.04.2021 22:20
question
Biology, 23.04.2021 22:20
Questions on the website: 13722363