To test primality, you need to check whether the number is divisible by the prime numbers less than the integer part of its square root. I did it by noticing that 999,919 is almost 1,000,000 when I was determining what number would be close to its square root. The square root of 1,000,000 is 1,000. Then, since 999,919 is 1,000,000 - 81, it is one square number minus another: 1,0002 - 92. So, I know that 999,919 can be factored because of the Pythagorean theorem: a2 + b2 = c2, which can be rewritten as a2 = c2 - b2 = (c - b)(c + b). By substituting 999,919 for a2, 9 for b, and 1000 for c, I have 999,919 = (1000 - 9)(1000 + 9) = 991 x 1009. So, because 999,919 has factors other than 1 and itself, it cannot be a prime number.
Start with the prime factorization.991^1 x 1009^1Adding one to the exponents and multiplying gives you the number of factors.2 x 2 = 4999919 has four factors.Since you know that 1 and 999919 are factors, you have them all.All Factors of 999919:1, 991, 1009, 999919
Find the factors of 999919 they are 991 and 1009ie 999919= 991* 1009 here it is said that the cat killed more mice than there were cats therefore the no of cats = 991
Undefined: You cannot divide by zero