Skip to main content

2001 AIME II Problem 10

Problem 10 of 15IntermediateNumber TheoryCombinatorics

How many positive integer multiples of 10011001 can be expressed in the form 10j−10i,10^{j} - 10^{i}, where ii and jj are integers and 0≤i<j≤99?0 \le i \lt j \le 99?

Your answer

Integer from 0 to 999
Show solution

Solution

Factor 10j−10i=10i(10j−i−1).10^j - 10^i = 10^i(10^{j-i} - 1). Since 1001=7⋅11⋅131001 = 7 \cdot 11 \cdot 13 is coprime to 10i,10^i, we need 10j−i−110^{j-i} - 1 to be divisible by 1001.1001. The multiplicative order of 1010 is 66 modulo 7,7, 22 modulo 11,11, and 66 modulo 13,13, so 10k≡1(mod1001)10^k \equiv 1 \pmod{1001} exactly when kk is a multiple of 6.6. Distinct pairs (i,j)(i, j) give distinct values, so we just count the pairs. For j−i=6dj - i = 6d with 1≤d≤16,1 \le d \le 16, the index ii can be 0,1,…,99−6d,0, 1, \ldots, 99 - 6d, giving 100−6d100 - 6d choices. The total is ∑d=116(100−6d)=94+88+⋯+4=(94+4)⋅162=784. \begin{aligned} &\sum_{d=1}^{16} (100 - 6d) \\ &= 94 + 88 + \cdots + 4 \\ &= \frac{(94 + 4) \cdot 16}{2} \\ &= 784. \end{aligned}
AoPS wiki

Tagged: multiplicative order · modular arithmetic · counting pairs

More practice