Skip to main content

2013 AMC 12A Problem 20

Problem 20 of 25HarderNumber TheoryCombinatorics

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

Answer choices

Show solution

Solution

Reading the elements modulo 19,19, the relation a≻ba \succ b holds exactly when 0<(a−b) mod 19≤9.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 1≤i≤9.1 \le i \le 9. Then zz must satisfy x+10≤z≤x+9+i,x + 10 \le z \le x + 9 + i, giving ii choices. The total is 19(1+2+⋯+9)=19⋅4519(1 + 2 + \cdots + 9) = 19\cdot 45 =855.= 855. Thus, the correct answer is B.
AoPS wiki

Tagged: modular arithmetic · basic counting

More practice