AMC 10 Step by Step

2017 AMC 10B Problem 14

P11-15~3 minPrint

An integer NN is selected at random in the range 1≤N≤20201\leq N \leq 2020 . What is the probability that the remainder when N16N^{16} is divided by 55 is 11 ?

Log in to save your progress.
Show solution without answering

Key insight

The fourth powers of 1, 2, 3, 4 all leave remainder 1 when divided by 5. So N to the 16th leaves 1 unless N is a multiple of 5.

Solution

N16N^{16} is far too big to compute, but we only need its remainder when divided by 55. The remainder of a product depends only on the remainders of the factors, so only NN's own remainder matters. For example, 77 and 22 both leave remainder 22, and 72=497^2 = 49 and 22=42^2 = 4 both leave remainder 44.

  1. Try the small remainders 1,2,3,41, 2, 3, 4 and raise each to the fourth power:
NN11223344
N4N^41116168181256256
remainder when divided by 5511111111
  1. So whenever NN is not a multiple of 55, N4N^4 leaves remainder 11. In symbols, N4≡1(mod5)N^4 \equiv 1 \pmod 5, which just means "N4N^4 leaves remainder 11 when divided by 55."
  2. Now N16=N4⋅N4⋅N4⋅N4N^{16} = N^4 \cdot N^4 \cdot N^4 \cdot N^4. Four factors that each leave remainder 11 multiply to something that leaves remainder 1⋅1⋅1⋅1=11 \cdot 1 \cdot 1 \cdot 1 = 1.
  3. If NN is a multiple of 55, then N16N^{16} is too, and the remainder is 00.
  4. So the remainder is 11 exactly when NN is not a multiple of 55.
  5. From 11 to 20202020 there are 2020÷5=4042020 \div 5 = 404 multiples of 55. That leaves 2020−404=16162020 - 404 = 1616 numbers that work.
  6. The probability is 16162020=45\frac{1616}{2020} = \frac{4}{5}.

The answer is (D) 45\boxed{\textbf{(D)}\ \frac{4}{5}}.

Why this works

For remainder questions about huge powers, work with remainders from the start and look for a power that brings you back to 11. Here the fourth power does it for every number not divisible by 55 (a fact known as Fermat's little theorem), and 1616 is a multiple of 44. Because 20202020 is a multiple of 55, each remainder appears equally often, giving exactly 45\frac45.

Concise solution

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

Only the remainder of NN mod 55 matters. Compute fourth powers of each nonzero residue:
14=1,24=16≡1,34=81≡1,44=256≡1(mod5).1^4 = 1,\quad 2^4 = 16 \equiv 1,\quad 3^4 = 81 \equiv 1,\quad 4^4 = 256 \equiv 1 \pmod 5.
So whenever 5∤N5 \nmid N, N16=(N4)4≡14=1(mod5)N^{16} = (N^4)^4 \equiv 1^4 = 1 \pmod 5. If 5∣N5 \mid N, then N16≡0N^{16} \equiv 0.

Thus N16N^{16} leaves remainder 11 exactly when NN is not a multiple of 55. Since 2020=5⋅4042020 = 5 \cdot 404, the range 11 to 20202020 contains 404404 multiples of 55 and 2020−404=16162020 - 404 = 1616 non-multiples. The probability is
16162020=45.\frac{1616}{2020} = \frac{4}{5}.

The answer is (D) 45\boxed{\textbf{(D)}\ \frac{4}{5}}.

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.