Skip to main content

2020 AIME II Problem 1

Problem 1 of 15EasierNumber TheoryCombinatorics

Find the number of ordered pairs of positive integers (m,n)(m, n) such that m2n=2020.m^2 n = 20^{20}.

Your answer

Integer from 0 to 999
Show solution

Solution

Since 2020=240⋅520,20^{20} = 2^{40} \cdot 5^{20}, a valid mm must have the form 2a5b,2^a 5^b, and then n=240−2a 520−2bn = 2^{40 - 2a}\,5^{20 - 2b} is a positive integer exactly when 2a≤402a \le 40 and 2b≤20.2b \le 20. Conversely every such choice works, and nn is uniquely determined by m.m. So aa can be any of 0,1,…,200, 1, \ldots, 20 and bb any of 0,1,…,10,0, 1, \ldots, 10, giving 21⋅11=23121 \cdot 11 = 231 ordered pairs.
AoPS wiki

Tagged: prime factorization · basic counting

More practice