返回题库

AIME 2022 I · 第 13 题

AIME 2022 I — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let SS be the set of all rational numbers that can be expressed as a repeating decimal in the form 0.abcd,0.\overline{abcd}, where at least one of the digits a,a, b,b, c,c, or dd is nonzero. Let NN be the number of distinct numerators obtained when numbers in SS are written as fractions in lowest terms. For example, both 44 and 410410 are counted among the distinct numerators for numbers in SS because 0.3636=4110.\overline{3636} = \frac{4}{11} and 0.1230=4103333.0.\overline{1230} = \frac{410}{3333}. Find the remainder when NN is divided by 1000.1000.

解析

Solution 1

0.abcd=abcd9999=xy0.\overline{abcd}=\frac{abcd}{9999} = \frac{x}{y}, 9999=9×11×1019999=9\times 11\times 101.

Then we need to find the number of positive integers xx that (with one of more yy such that y9999y|9999) can meet the requirement 1x9999y99991 \leq {x}\cdot\frac{9999}{y} \leq 9999.

Make cases by factors of xx. (A venn diagram of cases would be nice here.)

Case AA:

3x3 \nmid x and 11x11 \nmid x and 101x101 \nmid x, aka gcd(9999,x)=1\gcd (9999, x)=1.

Euler's totient function counts these:

φ(3211101)=((31)3)(111)(1011)=6000\varphi \left(3^2 \cdot 11 \cdot 101 \right) = ((3-1)\cdot 3)(11-1)(101-1)= \bf{6000} values (but it's enough to note that it's a multiple of 1000 and thus does not contribute to the final answer)

Note: You don't need to know this formula. The remaining cases essentially re-derive the same computation for other factors of 99999999. This case isn't actually different.

The remaining cases have 33 (or 99), 1111, and/or 101101 as factors of abcdabcd, which cancel out part of 99999999. Note: Take care about when to use 33 vs 99.

Case BB: 3x3|x, but 11x11 \nmid x and 101x101 \nmid x.

Then abcd=9xabcd=9x to leave 3 uncancelled, and x=3px=3p, so x99999=1111x \leq \frac{9999}{9} = 1111, giving:

x3{1,11113}x \in 3 \cdot \{1, \dots \left\lfloor \frac{1111}{3}\right\rfloor\},

x(311){11111311}x \notin (3\cdot 11) \cdot \{1 \dots \left\lfloor \frac{1111}{3\cdot 11}\right\rfloor\},

x(3101){111113101}x \notin (3 \cdot 101) \cdot \{1 \dots \left\lfloor \frac{1111}{3 \cdot 101}\right\rfloor\},

for a subtotal of 11113(1111311+11113101)=370(33+3)=334\left\lfloor \frac{1111}{3}\right\rfloor - (\left\lfloor\frac{1111}{3 \cdot 11}\right\rfloor + \left\lfloor\frac{1111}{3 \cdot 101}\right\rfloor ) = 370 - (33+3) = \bf{334} values.

Case CC: 11x11|x, but 3x3 \nmid x and 101x101 \nmid x.

Much like previous case, abcdabcd is 11x11x, so x999911=909x \leq \frac{9999}{11} = 909,

giving 90911(909113+90911101)=82(27+0)=55\left\lfloor \frac{909}{11}\right\rfloor - \left(\left\lfloor\frac{909}{11 \cdot 3}\right\rfloor + \left\lfloor\frac{909}{11 \cdot 101}\right\rfloor \right) = 82 - (27 + 0) = \bf{55} values.

Case DD: 3x3|x and 11x11|x (so 33x33|x), but 101x101 \nmid x.

Here, abcdabcd is 99x99x, so x999999=101x \leq \frac{9999}{99} = 101,

giving 1013310133101=30=3\left\lfloor \frac{101}{33}\right\rfloor - \left\lfloor \frac{101}{33 \cdot 101}\right\rfloor = 3-0 = \bf{3} values.

Case EE: 101x101|x.

Here, abcdabcd is 101x101x, so x9999101=99x \leq \frac{9999}{101} = 99,

giving 99101=0\left\lfloor \frac{99}{101}\right\rfloor = \bf{0} values, so we don't need to account for multiples of 33 and 1111.

To sum up, the answer is

6000+334+55+3+0392(mod1000).6000+334+55+3+0\equiv\boxed{392} \pmod{1000}.

Clarification

In this context, when the solution says, "Then abcd=9xabcd=9x to leave 3 uncancelled, and x=3px=3p," it is a bit vague. The best way to clarify this is by this exact example - what is really meant is we need to divide by 9 first to achieve 1111, which has no multiple of 3; thus, given that the fraction x/y is the simplest form, x can be a multiple of 3.

Similar explanations can be said when the solution divides 9999 by 11, 101, and uses that divided result in the PIE calculation rather than 9999.

mathboy282

Sketch of Constuctive Counting Solution

If anyone wants to write this up, basically I thought to do:

d9999φ(d)=9999\sum_{d\mid 9999}\varphi(d)=9999 and which is 9999 (identity), but then we must subtract all the numbers that show up multiple times in the numerator. We do this by doing casework on n,n, like if 1111wecheckhowmanynarecoprimeto3333inthisrange,givingtheamountofnthatshowupmultipletimesinboth1111 we check how many n are coprime to 3333 in this range, giving the amount of n that show up multiple times in both\frac{n}{3333}andand\frac{n}{9999}.$ repeat this bounding process and it should work.

Video Solution

https://youtu.be/0FZyjuIOHnA

https://MathProblemSolvingSkills.com