2020 AMC 10B Problems/Problem 15

Revision as of 20:44, 1 July 2021 by MRENTHUSIASM (talk | contribs) (Solution 3.2 (Similar to Solution 2: Direct))

Problem

Steve wrote the digits $1$, $2$, $3$, $4$, and $5$ in order repeatedly from left to right, forming a list of $10,000$ digits, beginning $123451234512\ldots.$ He then erased every third digit from his list (that is, the $3$rd, $6$th, $9$th, $\ldots$ digits from the left), then erased every fourth digit from the resulting list (that is, the $4$th, $8$th, $12$th, $\ldots$ digits from the left in what remained), and then erased every fifth digit from what remained at that point. What is the sum of the three digits that were then in the positions $2019, 2020, 2021$?

$\textbf{(A)}\ 7 \qquad\textbf{(B)}\ 9 \qquad\textbf{(C)}\ 10 \qquad\textbf{(D)}\ 11 \qquad\textbf{(E)}\ 12$

Solution 1

After erasing every third digit, the list becomes $1245235134\ldots$ repeated. After erasing every fourth digit from this list, the list becomes $124235341452513\ldots$ repeated. Finally, after erasing every fifth digit from this list, the list becomes $124253415251\ldots$ repeated. Since this list repeats every $12$ digits and since $2019,2020,2021$ are $3,4,5$ respectively in $\pmod{12},$ we have that the $2019$th, $2020$th, and $2021$st digits are the $3$rd, $4$th, and $5$th digits respectively. It follows that the answer is $4+2+5= \boxed {\textbf{(D)}\ 11}.$

Solution 2

As the LCM of 3, 4, and 5 is $60$, let's look at a 60-digit block of original numbers (many will be erased by Steve). After he erases every third number (1/3), then every fourth number of what remains (1/4), then every fifth number of what remains (1/5), we are left with $\dfrac{2}{3} \cdot \dfrac{3}{4} \cdot \dfrac{4}{5} \cdot 60=24$ digits from this 60-digit block. $2019 \equiv 3 \pmod {24}, 2020 \equiv 4 \pmod {24}, 2021 \equiv 5 \pmod {24}$. Writing out the first few digits of this sequence, we have $\underbrace{1}_{\#1}, \underbrace{2}_{\#2}, \cancel{3}, \underbrace{4}_{\#3}, \cancel{5}, \cancel{1}, \underbrace{2}_{\#4}, \cancel{3}, \cancel{4}, \underbrace{5}_{\#5}, \dots$. Therefore, our answer is $4+2+5=\boxed{\textbf{(D)}\ 11}$. ~BakedPotato66

Solution 3 (Illustrations)

Note that cycles exist initially and after each round of erasing.

Two solutions follow from here:

Solution 3.1 (Similar to Solution 1: Stepwise)

Let the parentheses denote cycles. It follows that:

  1. Initially, the list has cycles of length $5:$ \[(12345)=12345123451234512345\cdots.\]
  2. To find one cycle after the first round of erasing, we need one cycle of length $\mathrm{lcm}(3,5)=15$ before erasing. So, we first group $\frac{15}{5}=3$ copies of the current cycle into one, then erase: \begin{align*} (12345)&\longrightarrow(123451234512345) \\ &\longrightarrow(12\cancel{3}45\cancel{1}23\cancel{4}51\cancel{2}34\cancel{5}) \\ &\longrightarrow(1245235134). \end{align*} As a quick confirmation, one cycle should have length $15\cdot\left(1-\frac{1}{3}\right)=10$ at this point.
  3. To find one cycle after the second round of erasing, we need one cycle of length $\mathrm{lcm}(4,10)=20$ before erasing. So, we first group $\frac{20}{10}=2$ copies of the current cycle into one, then erase: \begin{align*} (1245235134)&\longrightarrow(12452351341245235134) \\ &\longrightarrow(124\cancel{5}235\cancel{1}341\cancel{2}452\cancel{3}513\cancel{4}) \\ &\longrightarrow(124235341452513). \end{align*} As a quick confirmation, one cycle should have length $20\cdot\left(1-\frac{1}{4}\right)=15$ at this point.
  4. To find one cycle after the third round of erasing, we need one cycle of length $\mathrm{lcm}(5,15)=15$ before erasing. We already have it here, so we erase: \begin{align*} (124235341452513)&\longrightarrow(1242\cancel{3}5341\cancel{4}5251\cancel{3}) \\ &\longrightarrow(124253415251). \end{align*} As a quick confirmation, one cycle should have length $15\cdot\left(1-\frac{1}{5}\right)=12$ at this point.

Since $2019,2020,2021$ are congruent to $3,4,5$ modulo $12,$ respectively, the three digits in the final positions $2019,2020,2021$ are $4,2,5,$ respectively: \[(12\underline{425}3415251).\] Therefore, the answer is $4+2+5=\boxed{\textbf{(D)}\ 11}.$

~MRENTHUSIASM (inspired by TheBeautyofMath)

Solution 3.2 (Similar to Solution 2: Direct)

We will consider one cycle after all three rounds of erasing. Suppose this cycle has length $L$ before any round of erasing. It follows that:

  1. Initially, one cycle has length $5,$ from which $L$ must be divisible by $5.$
  2. After the first round of erasing, one cycle has length $L\left(1-\frac13\right)=\frac23L,$ from which $L$ must be divisible by $3.$
  3. After the second round of erasing, one cycle has length $L\left(1-\frac13\right)\left(1-\frac14\right)=\frac12L,$ from which $L$ must be divisible by $2.$
  4. After the third round of erasing, one cycle has length $L\left(1-\frac13\right)\left(1-\frac14\right)\left(1-\frac15\right)=\frac25L,$ from which $L$ must be divisible by $5.$

The least such positive integer $L$ is $\mathrm{lcm}(5,3,2,5)=30.$ So, there is a repeating pattern for every $30$ digits on the original list. As shown below, the digits erased in the first, second, and third rounds are colored in red, yellow, and green, respectively: [asy] /* Made by MRENTHUSIASM */ size(20cm);  for (real i=2.5; i<30; i+=3) {    fill((i-0.5,0)--(i-0.5,4)--(i+0.5,4)--(i+0.5,0)--cycle,red); }  for (real i=4.5; i<30; i+=6) {    fill((i-0.5,0)--(i-0.5,4)--(i+0.5,4)--(i+0.5,0)--cycle,yellow); }  for (real i=7.5; i<30; i+=6) {    fill((i-0.5,0)--(i-0.5,4)--(i+0.5,4)--(i+0.5,0)--cycle,green); }  for (real i=1; i<5; ++i) {    for (real j=0; j<30; ++j) {       label("$"+string(1+j%5)+"$",(j+0.5,i-0.5));    } }  for (real i=0; i<30; ++i) {    label("$\vdots$",(i+0.5,-1/3)); }  add(grid(30,4,linewidth(1.25))); [/asy] As indicated by the white squares, each group of $30$ digits on the original list has $\frac25\cdot30=12$ digits remaining on the final list.

Since $2019,2020,2021$ are congruent to $3,4,5$ modulo $12,$ respectively, the three digits in the final positions $2019,2020,2021$ are $4,2,5,$ respectively: [asy] /* Made by MRENTHUSIASM */ size(20cm);  for (real i=2.5; i<30; i+=3) {    fill((i-0.5,0)--(i-0.5,1)--(i+0.5,1)--(i+0.5,0)--cycle,red); }  for (real i=4.5; i<30; i+=6) {    fill((i-0.5,0)--(i-0.5,1)--(i+0.5,1)--(i+0.5,0)--cycle,yellow); }  fill((7,0)--(7,1)--(8,1)--(8,0)--cycle,green); fill((18,0)--(18,1)--(19,1)--(19,0)--cycle,green); fill((27,0)--(27,1)--(28,1)--(28,0)--cycle,green);  for (real j=0; j<30; ++j) {    label("$"+string(1+j%5)+"$",(j+0.5,0.5)); }  draw((3.5,-1.25)--(3.5,-0.2),linewidth(1.25),EndArrow); draw((6.5,-1.25)--(6.5,-0.2),linewidth(1.25),EndArrow); draw((9.5,-1.25)--(9.5,-0.2),linewidth(1.25),EndArrow);  add(grid(30,1,linewidth(1.25))); [/asy] Therefore, the answer is $4+2+5=\boxed{\textbf{(D)}\ 11}.$

~MRENTHUSIASM

Video Solution

https://youtu.be/t6yjfKXpwDs 16:40 ~IceMatrix

See Also

2020 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 14
Followed by
Problem 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 10 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png