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 16:30
One of the same side angles of two parallel lines is 20° smaller than the other one. find the measures of these two angles.
Answers: 3
question
Mathematics, 21.06.2019 17:30
Monthly water bills for a city have a mean of $108.43 and a standard deviation of $32.09. find the probability that a randomly selected bill will have an amount greater than $155, which the city believes might indicate that someone is wasting water. would a bill that size be considered unusual?
Answers: 2
question
Mathematics, 21.06.2019 19:50
Is it greater than or less than7*3_9*2
Answers: 2
question
Mathematics, 21.06.2019 20:00
Ana drinks chocolate milk out of glasses that each holdof a liter. she has of a liter of chocolate milk in her refrigerator. 10 how many glasses of chocolate milk can she pour?
Answers: 2
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, 28.07.2019 16:20
Questions on the website: 13722363