AMC 10 Step by Step

2002 AMC 10B Problem 15

P11-15~3 minPrint

The positive integers A,B,A−B,A, B, A-B, and A+BA+B are all prime numbers. The sum of these four primes is

Log in to save your progress.
Show solution without answering

Key insight

A-B and A+B are both odd primes, so B must be the even prime 2. Then A-2, A, A+2 are all prime, which only 3, 5, 7 manage.

Solution

Try small examples first. B=2B = 2, A=5A = 5 gives primes 5,2,3,75, 2, 3, 7, which works. The steps below show it is the only choice, so the sum is fixed.

1. A−BA - B and A+BA + B are both odd. They differ by 2B2B, an even number, so they are both even or both odd. The only even prime is 22, and they cannot both be 22 (one is bigger). So both are odd.
2. B=2B = 2. A+BA + B is odd, so one of AA, BB is even and the other odd. The even one is a prime, so it is 22. It cannot be AA: then A−BA - B would be less than 22 and could not be prime. So B=2B = 2.
3. A=5A = 5. Now A−2A - 2, AA, A+2A + 2 are all prime. These are three odd numbers in a row, like 3,5,73, 5, 7 or 9,11,139, 11, 13. In any such run, one of the three is a multiple of 33 (the run jumps by 22, so it hits all three possible remainders when dividing by 33). The only prime that is a multiple of 33 is 33 itself.
- If A−2=3A - 2 = 3, then A=5A = 5, and 3,5,73, 5, 7 are all prime.
- If A=3A = 3, then A−2=1A - 2 = 1, not prime.
- If A+2=3A + 2 = 3, then A=1A = 1, not prime.
4. So A=5A = 5, B=2B = 2, and the four primes are 5,2,3,75, 2, 3, 7. Their sum is 1717, which is prime.

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

Why this works

When primes are added or subtracted, two quick tests do most of the work. Even and odd: if a sum or difference of primes must be odd, one of them is 22. Multiples of 33: three numbers spaced 22 apart always include a multiple of 33, which must be 33 itself if they are all prime. Check 22 and 33 first whenever primes form a pattern.

Alternative approach

In the contest you can just try examples. B=2B = 2 is the natural guess, and A=5A = 5 works immediately. The sum 1717 is odd and not divisible by 33, 55 or 77, so only (E) fits. The problem promises the answer does not depend on which primes you pick, so one working example is enough to choose.

Concise solution

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

The primes A−BA - B and A+BA + B differ by 2B2B, an even number, so they have the same parity. They cannot both be 22 (they are different), so both are odd. An odd difference A−BA - B means AA and BB have opposite parity, so one of them is the even prime 22. Since A>A−B≥2A > A - B \ge 2, we have A>2A > 2, hence B=2B = 2.

Now A−2A - 2, AA, A+2A + 2 are three primes, and among any three consecutive odd numbers one is a multiple of 33. A prime multiple of 33 is 33 itself, and A=3A = 3 would make A−2=1A - 2 = 1 (not prime), so A−2=3A - 2 = 3 and A=5A = 5. The four primes are 5,2,3,75, 2, 3, 7, all valid.

Their sum is 5+2+3+7=175 + 2 + 3 + 7 = 17, a prime.

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

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. Also appeared as 2002 12B #11.