In Exercise, use this definition: A prime number is a positive whole number with no factors other than itself and 1. For example, 2, 13, and 37 are primes, but 24 and 39 are not. By convention 1 is not considered prime, so the list of the first few primes is as follows:
Let G be the rule that assigns to each positive integer the nearest prime. For example, G(8) = 7, since 7 is the prime nearest 8. Explain why G is not a function. How could you alter the definition of G to make it a function?
Note: There is more than one way to do this.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.