Find the difference between the largest prime and composite number below 100
Answers
Answer:
2
Step-by-step explanation:
Largest prime number is 97
Largest composite number is 99
99-97=2
Given:
A set of natural numbers below 100.
To Find:
The difference between the largest prime number and the largest composite number that are below 100.
Solution:
1. A prime number is defined as a number that generally has only two factors i.e, 1 and the number itself.
2. All the prime numbers except 2 are odd. 1 is neither considered as a prime number nor as a composite number.
3. A composite number is defined as a number that has more than two factors.
4. All composite numbers except 2 are even.
5. The largest prime number below 100 is 97, 97 has only two factors that are 1 and 97.
6. 99 is the largest composite number below 100. 1, 3, 9, 11, 33, 99 are the factors of 99. Hence it is a composite number.
=> The difference between the largest composite number and the largest prime number is = 99 - 97 = 2.
Therefore, the difference between the largest composite number and the largest prime number is 2.