2021 AMC Fall 10B Problem 8
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 ?
Show solution without answering
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.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
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
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.