Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2006 / Problems / Day 1, P2

IMC 2006 · Day 1 · P2

easy
number theoryworth 20 pts

Find the number of positive integers xx satisfying the following two conditions:

1. x<102006x < 10^{2006};

2. x2xx^2 - x is divisible by 10200610^{2006}.

Solution 1 of 2 (official)

Let Sk={0<x<10kx2x is divisible by 10k}S_k = \left\{ 0 < x < 10^k \mid x^2 - x \text{ is divisible by } 10^k \right\} and s(k)=Sks(k) = |S_k|, k1k \ge 1. Let x=ak+1aka1x = a_{k+1} a_k \dots a_1 be the decimal writing of an integer xSk+1x \in S_{k+1}, k1k \ge 1. Then obviously y=aka1Sky = a_k \dots a_1 \in S_k. Now, let y=aka1Sky = a_k \dots a_1 \in S_k be fixed. Considering ak+1a_{k+1} as a variable digit, we have x2x=(ak+110k+y)2(ak+110k+y)=(y2y)+ak+110k(2y1)+ak+12102kx^2 - x = \left( a_{k+1} 10^k + y \right)^2 - \left( a_{k+1} 10^k + y \right) = (y^2 - y) + a_{k+1} 10^k (2y - 1) + a_{k+1}^2 10^{2k}. Since y2y=10kzy^2 - y = 10^k z for an iteger zz, it follows that x2xx^2 - x is divisible by 10k+110^{k+1} if and only if z+ak+1(2y1)0(mod10)z + a_{k+1} (2y - 1) \equiv 0 \pmod{10}. Since y3(mod10)y \equiv 3 \pmod{10} is obviously impossible, the congruence has exactly one solution. Hence we obtain a one-to-one correspondence between the sets Sk+1S_{k+1} and SkS_k for every k1k \ge 1. Therefore s(2006)=s(1)=3s(2006) = s(1) = 3, because S1={1,5,6}S_1 = \{1, 5, 6\}.

Solution 2 of 2 (official)

Since x2x=x(x1)x^2 - x = x(x-1) and the numbers xx and x1x-1 are relatively prime, one of them must be divisible by 220062^{2006} and one of them (may be the same) must be divisible by 520065^{2006}. Therefore, xx must satisfy the following two conditions: x0 or 1(mod22006);x \equiv 0 \text{ or } 1 \pmod{2^{2006}}; x0 or 1(mod52006).x \equiv 0 \text{ or } 1 \pmod{5^{2006}}. Altogether we have 4 cases. The Chinese remainder theorem yields that in each case there is a unique solution among the numbers 0,1,,10200610, 1, \dots, 10^{2006} - 1. These four numbers are different because each two gives different residues modulo 220062^{2006} or 520065^{2006}. Moreover, one of the numbers is 0 which is not allowed.

Therefore there exist 3 solutions.

How the field did

contestants scored
237
average (of 20)
14.11
solved (≥ 80%)
53.6%
near-0 (≤ 10%)
18.1%
discrimination
0.51

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2008 · Day 2 · P7easyavg 6.1/10 · solved 54% · near-0 22% · disc 0.56
IMC 2008 · Day 2 · P10easyavg 5.5/10 · solved 55% · near-0 44% · disc 0.48
IMC 2007 · Day 2 · P8easyavg 6.1/10 · solved 52% · near-0 26% · disc 0.47
IMC 2002 · Day 2 · P9easyavg 5.6/10 · solved 51% · near-0 38% · disc 0.48