2013 AMC 12A Problem 20

Below is the professionally curated solution for Problem 20 of the 2013 AMC 12A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2013 AMC 12A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:modular arithmeticbasic counting

Difficulty rating: 2220

20.

Let SS be the set {1,2,3,,19}.\{1, 2, 3, \ldots, 19\}. For a,bS,a, b \in S, define aba \succ b to mean that either 0<ab90 \lt a - b \le 9 or ba>9.b - a \gt 9. How many ordered triples (x,y,z)(x, y, z) of elements of SS have the property that xy,x \succ y, yz,y \succ z, and zx?z \succ x?

810810

855855

900900

950950

988988

Solution:

Reading the elements modulo 19,19, the relation aba \succ b holds exactly when 0<(ab)mod199.0 \lt (a - b) \bmod 19 \le 9.

There are 1919 choices for x.x. Once xx is fixed, take y=x+iy = x + i for some 1i9.1 \le i \le 9. Then zz must satisfy x+10zx+9+i,x + 10 \le z \le x + 9 + i, giving ii choices.

The total is 19(1+2++9)=1945=855.19(1 + 2 + \cdots + 9) = 19\cdot 45 = 855.

Thus, the correct answer is B.

Problem 20 in Other Years