Explain why we may assume a and b are both positive in third prove of proposition 39.6.
1. Sieve of Erasothenes. Here is a method for finding many prime numbers. Write down all the numbers from 2 to, say, 1000. Notice that the smallest number on this list (2) is a prime. Cross off all multiples of 2 (except 2). The next smallest number on the list is a prime (3). Cross off all multiples of 3 (except 3 itself). The next number on the list is 4, but it’s crossed off. The next smallest number on the list that isn’t crossed off is 5. Cross off all multiples of 5 (except 5 itself).
a. Prove that this algorithm crosses off all composite numbers on the list but retains all the prime
b. Implement this algorithm on a computer.
c. Let denote the number of primes that are less than or equal to n. For example, because there are eight primes that are less than or equal to 19
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here