返回题库

AIME 2023 I · 第 7 题

AIME 2023 I — Problem 7

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Call a positive integer nn extra-distinct if the remainders when nn is divided by 2,3,4,5,2, 3, 4, 5, and 66 are distinct. Find the number of extra-distinct positive integers less than 10001000.

解析

Solution 1

nn can either be 00 or 11 (mod 22).

Case 1: n0(mod2)n \equiv 0 \pmod{2}

Then, n2(mod4)n \equiv 2 \pmod{4}, which implies n1(mod3)n \equiv 1 \pmod{3} and n4(mod6)n \equiv 4 \pmod{6}, and therefore n3(mod5)n \equiv 3 \pmod{5}. Using CRT, we obtain n58(mod60)n \equiv 58 \pmod{60}, which gives 1616 values for nn.

Case 2: n1(mod2)n \equiv 1 \pmod{2}

nn is then 3(mod4)3 \pmod{4}. If n0(mod3)n \equiv 0 \pmod{3}, n3(mod6)n \equiv 3 \pmod{6}, a contradiction. Thus, n2(mod3)n \equiv 2 \pmod{3}, which implies n5(mod6)n \equiv 5 \pmod{6}. nn can either be 0(mod5)0 \pmod{5}, which implies that n35(mod60)n \equiv 35 \pmod{60} by CRT, giving 1717 cases; or 4(mod5)4 \pmod{5}, which implies that n59(mod60)n \equiv 59 \pmod{60} by CRT, giving 1616 cases.

The total number of extra-distinct numbers is thus 16+16+17=04916 + 16 + 17 = \boxed{049}.

~mathboy100

Solution 2 (Simpler)

Because the LCM of all of the numbers we are dividing by is 6060, we know that all of the remainders are 00 again at 6060, meaning that we have a cycle that repeats itself every 6060 numbers.

After listing all of the remainders up to 6060, we find that 3535, 5858, and 5959 are extra-distinct. So, we have 33 numbers every 6060 which are extra-distinct. 6016=96060\cdot16 = 960 and 316=483\cdot16 = 48, so we have 4848 extra-distinct numbers in the first 960960 numbers. Because of our pattern, we know that the numbers from 961961 thru 10001000 will have the same remainders as 11 thru 4040, so we have 11 other extra-distinct number (3535).

48+1=04948 + 1 = \boxed{049}.

~Algebraik

Solution 3

Case 0: Rem (n,6)=0\textbf{Case 0: } {\rm Rem} \ \left( n, 6 \right) = 0.

We have Rem (n,2)=0{\rm Rem} \ \left( n, 2 \right) = 0. This violates the condition that nn is extra-distinct. Therefore, this case has no solution.

Case 1: Rem (n,6)=1\textbf{Case 1: } {\rm Rem} \ \left( n, 6 \right) = 1.

We have Rem (n,2)=1{\rm Rem} \ \left( n, 2 \right) = 1. This violates the condition that nn is extra-distinct. Therefore, this case has no solution.

Case 2: Rem (n,6)=2\textbf{Case 2: } {\rm Rem} \ \left( n, 6 \right) = 2.

We have Rem (n,3)=2{\rm Rem} \ \left( n, 3 \right) = 2. This violates the condition that nn is extra-distinct. Therefore, this case has no solution.

Case 3: Rem (n,6)=3\textbf{Case 3: } {\rm Rem} \ \left( n, 6 \right) = 3.

The condition Rem (n,6)=3{\rm Rem} \ \left( n, 6 \right) = 3 implies Rem (n,2)=1{\rm Rem} \ \left( n, 2 \right) = 1, Rem (n,3)=0{\rm Rem} \ \left( n, 3 \right) = 0.

Because nn is extra-distinct, Rem (n,l){\rm Rem} \ \left( n, l \right) for l{2,3,4}l \in \left\{ 2, 3, 4 \right\} is a permutation of {0,1,2}\left\{ 0, 1 ,2 \right\}. Thus, Rem (n,4)=2{\rm Rem} \ \left( n, 4 \right) = 2.

However, Rem (n,4)=2{\rm Rem} \ \left( n, 4 \right) = 2 conflicts Rem (n,2)=1{\rm Rem} \ \left( n, 2 \right) = 1. Therefore, this case has no solutions.

Case 4: Rem (n,6)=4\textbf{Case 4: } {\rm Rem} \ \left( n, 6 \right) = 4.

The condition Rem (n,6)=4{\rm Rem} \ \left( n, 6 \right) = 4 implies Rem (n,2)=0{\rm Rem} \ \left( n, 2 \right) = 0 and Rem (n,3)=1{\rm Rem} \ \left( n, 3 \right) = 1.

Because nn is extra-distinct, Rem (n,l){\rm Rem} \ \left( n, l \right) for l{2,3,4,5}l \in \left\{ 2, 3, 4 , 5 \right\} is a permutation of {0,1,2,3}\left\{ 0, 1 ,2 , 3 \right\}.

Because Rem (n,2)=0{\rm Rem} \ \left( n, 2 \right) = 0, we must have Rem (n,4)=2{\rm Rem} \ \left( n, 4 \right) = 2. Hence, Rem (n,5)=3{\rm Rem} \ \left( n, 5 \right) = 3.

Hence, n2(modlcm(4,5,6))n \equiv -2 \pmod{{\rm lcm} \left( 4, 5 , 6 \right)}. Hence, n2(mod60)n \equiv - 2 \pmod{60}.

We have 1000=6016+401000 = 60 \cdot 16 + 40. Therefore, the number of extra-distinct nn in this case is 16.

Case 5: Rem (n,6)=5\textbf{Case 5: } {\rm Rem} \ \left( n, 6 \right) = 5.

The condition Rem (n,6)=5{\rm Rem} \ \left( n, 6 \right) = 5 implies Rem (n,2)=1{\rm Rem} \ \left( n, 2 \right) = 1 and Rem (n,3)=2{\rm Rem} \ \left( n, 3 \right) = 2.

Because nn is extra-distinct, Rem (n,4){\rm Rem} \ \left( n, 4 \right) and Rem (n,5){\rm Rem} \ \left( n, 5 \right) are two distinct numbers in {0,3,4}\left\{ 0, 3, 4 \right\}. Because Rem (n,4)3{\rm Rem} \ \left( n, 4 \right) \leq 3 and nn is odd, we have Rem (n,4)=3{\rm Rem} \ \left( n, 4 \right) = 3. Hence, Rem (n,5)=0{\rm Rem} \ \left( n, 5 \right) = 0 or 4.

Case 5.1: Rem (n,6)=5\textbf{Case 5.1: } {\rm Rem} \ \left( n, 6 \right) = 5, Rem (n,4)=3{\rm Rem} \ \left( n, 4 \right) = 3, Rem (n,5)=0{\rm Rem} \ \left( n, 5 \right) = 0.

We have n35(mod60)n \equiv 35 \pmod{60}.

We have 1000=6016+401000 = 60 \cdot 16 + 40. Therefore, the number of extra-distinct nn in this subcase is 17.

Case 5.2: Rem (n,6)=5\textbf{Case 5.2: } {\rm Rem} \ \left( n, 6 \right) = 5, Rem (n,4)=3{\rm Rem} \ \left( n, 4 \right) = 3, Rem (n,5)=4{\rm Rem} \ \left( n, 5 \right) = 4.

n1(mod60)n \equiv - 1 \pmod{60}.

We have 1000=6016+401000 = 60 \cdot 16 + 40. Therefore, the number of extra-distinct nn in this subcase is 16.

Putting all of the cases together, the total number of extra-distinct nn is 16+17+16=04916 + 17 + 16 = \boxed{049}.

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) ~minor formatting changes by PojoDotCom

Solution 4 (Small addition to solution 2)

We need to find that 3535, 5858, and 5959 are all extra-distinct numbers smaller than 61.61.

Let k{2,3,4,5,6}.k \in \left\{2, 3, 4, 5, 6 \right\}. Denote the remainder in the division of aa by bb as Rem (a,b).{\rm Rem} \ \left( a, b \right).

Rem (1,k)=k1    Rem (59,k)=k1={1,2,3,4,5}    59{\rm Rem} \ \left( -1, k \right) = k - 1 \implies {\rm Rem} \ \left( 59, k \right) = k - 1 = \left\{1, 2, 3, 4, 5 \right\}\implies 59 is extra-distinct. Rem (2,k)=k2    Rem (58,k)=k2={0,1,2,3,4}    58{\rm Rem} \ \left( -2, k \right) = k - 2 \implies {\rm Rem} \ \left( 58, k \right) = k - 2 = \left\{0, 1, 2, 3, 4 \right\} \implies 58 is extra-distinct.

Rem (x+12y,k)=Rem (x,k)+{0,0,0,Rem (12y,k),0}.{\rm Rem} \ \left( x + 12y, k \right) = {\rm Rem} \ \left(x, k \right) + \left\{0, 0, 0, {\rm Rem} \ \left(12y, k \right), 0 \right\}. We need to check all of the remainders up to 123=912 - 3 = 9 and remainders

Rem (5912,k)=Rem (5936,k)={1,2,3,3,5},Rem (5948,k)={1,2,3,1,5},{\rm Rem} \ \left( 59 - 12, k \right) = {\rm Rem} \ \left( 59 - 36, k \right) = \left\{1, 2, 3, 3, 5 \right\}, {\rm Rem} \ \left( 59 - 48, k \right) = \left\{1, 2, 3, 1, 5 \right\}, Rem (5924,k)=Rem (35,k)={1,2,3,0,5}    35{\rm Rem} \ \left( 59 - 24, k \right) ={\rm Rem} \ \left(35, k \right) = \left\{1, 2, 3, 0, 5 \right\} \implies 35 is extra-distinct. 5812=46    Rem (46,5)=1=Rem (46,3),58 - 12 = 46 \implies {\rm Rem} \ \left( 46, 5 \right) = 1 = {\rm Rem} \ \left( 46, 3 \right), 5824=34    Rem (34,5)=4=Rem (34,6),58 - 24 = 34 \implies {\rm Rem} \ \left( 34, 5 \right) = 4 = {\rm Rem} \ \left( 34, 6 \right), 5836=22    Rem (22,5)=2=Rem (22,4),58 - 36 = 22 \implies {\rm Rem} \ \left( 22, 5 \right) = 2 = {\rm Rem} \ \left( 22, 4 \right), 5848=10    Rem (10,5)=0=Rem (10,2).58 - 48 = 10 \implies {\rm Rem} \ \left( 10, 5 \right) = 0 = {\rm Rem} \ \left( 10, 2 \right).

vvsss

Video Solution

https://youtu.be/8oOik9d1fWM

~MathProblemSolvingSkills.com