AMC 10 Step by Step

2022 AMC 10B Problem 13

P11-15~4 minPrint

The positive difference between a pair of primes is equal to 22 , and the positive difference between the cubes of the two primes is 3110631106 . What is the sum of the digits of the least prime that is greater than those two primes?

Log in to save your progress.
Show solution without answering

Key insight

Call the primes p and p + 2. Expanding the cubes leads to (p + 1)² = 5184 = 72², so the primes are 71 and 73.

Solution

The two primes differ by 22, so call them pp and p+2p + 2. Write the cube difference in terms of pp.

1. Expand. (p+2)3=p3+6p2+12p+8(p + 2)^3 = p^3 + 6p^2 + 12p + 8, so
(p+2)3−p3=6p2+12p+8=31106.(p + 2)^3 - p^3 = 6p^2 + 12p + 8 = 31106.
2. Simplify. Subtract 88: 6p2+12p=310986p^2 + 12p = 31098. Divide by 66: p2+2p=5183p^2 + 2p = 5183.
3. Make a perfect square. Adding 11 to both sides turns the left side into (p+1)2(p + 1)^2:
(p+1)2=5184.(p + 1)^2 = 5184.
4. Take the square root. 702=490070^2 = 4900 and 722=518472^2 = 5184, so p+1=72p + 1 = 72 and p=71p = 71. The primes are 7171 and 7373, and both really are prime.
5. Read the question again. It asks for the smallest prime bigger than both, so find the next prime after 7373:
- 74,76,7874, 76, 78 are even;
- 7575 ends in 55;
- 77=7×1177 = 7 \times 11;
- 7979 has no factor 2,3,52, 3, 5 or 77 (and 92=81>799^2 = 81 > 79, so no more checks are needed). It is prime.
6. Digit sum. 7+9=167 + 9 = 16.

The answer is (E) 16\boxed{\textbf{(E)}\ 16}.

Why this works

When two numbers differ by a fixed amount, the difference of their cubes is only a quadratic in the smaller one, and here it becomes a perfect square after adding 11. Knowing squares near 7070 makes the root quick. Last-step traps are common, so always reread what the question actually asks for.

Alternative approach

Estimate first. The difference (p+2)3−p3(p + 2)^3 - p^3 is about 6p26p^2, so 6p2≈311066p^2 \approx 31106, giving p2≈5184p^2 \approx 5184 and pp near 7272. The prime pair differing by 22 near there is 71,7371, 73. Check: 733−713=389017−357911=3110673^3 - 71^3 = 389017 - 357911 = 31106.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Call the primes pp and p+2p + 2. Expand the difference of cubes:
(p+2)3−p3=6p2+12p+8=31106.(p+2)^3 - p^3 = 6p^2 + 12p + 8 = 31106.
So 6p2+12p=310986p^2 + 12p = 31098, and dividing by 66 gives p2+2p=5183p^2 + 2p = 5183. Complete the square:
(p+1)2=5184=722,(p+1)^2 = 5184 = 72^2,
hence p=71p = 71 and the primes are 7171 and 7373 (both prime, as required).

The next prime after 7373: 74,75,7674, 75, 76 are even or end in 55; 77=7⋅1177 = 7 \cdot 11; 7878 is even; 7979 is prime.

The digit sum of 7979 is 7+9=167 + 9 = 16.

The answer is (E) 16\boxed{\textbf{(E)}\ 16}.

Review in the AoPS books

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.