Skip to main content

2012 AIME II Problem 1

Problem 1 of 15EasierNumber Theory

Find the number of ordered pairs of positive integer solutions (m,n)(m, n) to the equation 20m+12n=2012.20m + 12n = 2012.

Your answer

Integer from 0 to 999
Show solution

Solution

Dividing by 44 gives 5m+3n=503.5m + 3n = 503. Reducing modulo 3,3, we need 2m≡503≡2(mod3),2m \equiv 503 \equiv 2 \pmod{3}, so m≡1(mod3).m \equiv 1 \pmod{3}. Write m=3k+1m = 3k + 1 with k≥0;k \ge 0; then 3n=503−5(3k+1)3n = 503 - 5(3k + 1) =498−15k,= 498 - 15k, so n=166−5k.n = 166 - 5k. This is positive exactly when 5k≤165,5k \le 165, that is k≤33.k \le 33. So k=0,1,…,33k = 0, 1, \ldots, 33 all work, giving 3434 ordered pairs.
AoPS wiki

Tagged: Diophantine Equation · modular arithmetic

More practice