Skip to main content

2011 AIME I Problem 7

Problem 7 of 15IntermediateNumber Theory

Find the number of positive integers mm for which there exist nonnegative integers x0,x_0, x1,x_1, …,\ldots, x2011,x_{2011}, such that mx0=∑k=12011mxk.m^{x_0} = \sum_{k=1}^{2011} m^{x_k}.

Your answer

Integer from 0 to 999
Show solution

Solution

The value m=1m = 1 fails, since the right side would be 20112011 while the left side is 1.1. For m≥2,m \ge 2, reduce mod m−1:m - 1: every power of mm is ≡1,\equiv 1, so the equation forces 1≡2011(modm−1),1 \equiv 2011 \pmod{m - 1}, that is, m−1m - 1 divides 2010.2010. Conversely, suppose 2010=(m−1)n.2010 = (m - 1)n. Take x0=n,x_0 = n, let mm of the xkx_k equal 0,0, and for each r=1,2,…,n−1r = 1, 2, \ldots, n - 1 let m−1m - 1 of the xkx_k equal r.r. This uses m+(m−1)(n−1)m + (m - 1)(n - 1) =n(m−1)+1= n(m - 1) + 1 =2011= 2011 terms, and the sum telescopes: m+(m−1)⋅(m+m2+⋯+mn−1)=m+(mn−m)=mn=mx0. \begin{aligned} &m \\ &\quad {}+ (m - 1) \\ &\quad {}\cdot (m + m^2 + \cdots + m^{n-1}) \\ &\quad {}= m + (m^n - m) \\ &\quad {}= m^n = m^{x_0}. \end{aligned} So the equation is solvable exactly when m−1m - 1 divides 2010=2⋅3⋅5⋅67,2010 = 2 \cdot 3 \cdot 5 \cdot 67, which has 24=162^4 = 16 divisors. There are 1616 such m.m.
AoPS wiki

Tagged: modular arithmetic · factor counting

More practice