The greatest prime number that is a divisor of is because . What is the sum of the digits of the greatest prime number that is a divisor of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
16383 is 128 squared minus 1, so it factors as (128 - 1)(128 + 1) = 127 times 129 = 3 times 43 times 127, and 127 is prime.
Solution
The first sentence is a hint: is one less than .
1. Write it as a difference of squares. , and . So
2. Break down . Its digits add to , so divides it: . Both are prime.
3. Is prime? Only primes up to about need checking. Since and , check :
- is odd, so not .
- Its digits add to , so not .
- It does not end in or .
- , so not .
- and , so not .
So is prime.
4. So , and the largest prime factor is .
5. Its digit sum is .
The answer is .
Why this works
A number just below a power of with an even exponent is a square minus , so it splits into two factors right away: . When a problem tells you a fact that seems unrelated, like , it is usually there to point you to exactly this kind of shortcut.
The trap
Trying to break 16383 into primes by dividing by 3, 7, 11, 13, ... from scratch instead of using the hint that 16384 = 2 to the 14.
Concise solution
The problem tells us , so , which is a difference of squares:
Now , and is prime (it is not divisible by or , and ). Thus
and the greatest prime divisor is . Its digit sum is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 2: Primes and Composites
- Introduction to Algebra, Chapter 11: Special Factorizations (§11.2, §11.3, §11.5)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.2, §4.4)
- Introduction to Algebra, Chapter 22: Special Manipulations
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta