Difference between revisions of "2017 AMC 12B Problems/Problem 19"

(added problem and solution)
 
(fixed spacing)
Line 6: Line 6:
 
==Solution==
 
==Solution==
  
We will consider this number <math>\bmod 5</math> and <math>\bmod 9</math>. By looking at the last digit, it is obvious that the number is <math>\equiv 4\bmod 5</math>. To calculate the number <math>\bmod 9</math>, note that
+
We will consider this number <math>\bmod\ 5</math> and <math>\bmod\ 9</math>. By looking at the last digit, it is obvious that the number is <math>\equiv 4\bmod\ 5</math>. To calculate the number <math>\bmod\ 9</math>, note that
  
<cmath>123456\cdots 4344 \equiv 1+2+3+4+5+6+7+8+9+(1+0)+(1+1)+\cdots+(4+3)+(4+4) \equiv 1+2+\cdots+44 \bmod 9,</cmath>
+
<cmath>123456\cdots 4344 \equiv 1+2+3+4+5+6+7+8+9+(1+0)+(1+1)+\cdots+(4+3)+(4+4) \equiv 1+2+\cdots+44 \bmod\ 9,</cmath>
  
 
so it is equivalent to
 
so it is equivalent to
  
<cmath>\frac{44\cdot 45}{2} = 22\cdot 45 \equiv 0\mod 9.</cmath>
+
<cmath>\frac{44\cdot 45}{2} = 22\cdot 45 \equiv 0\bmod\ 9.</cmath>
  
Thus it is <math>0\bmod 9</math> and <math>4\bmod 5</math>, so it is <math>\textbf{(C)} = 9\bmod 45.</math>
+
Thus it is <math>0\bmod 9</math> and <math>4\bmod 5</math>, so it is <math>\textbf{(C)} = 9\bmod\ 45.</math>
  
 
==See Also==
 
==See Also==

Revision as of 16:32, 16 February 2017

Problem

Let $N=123456789101112\dots4344$ be the $79$-digit number that is formed by writing the integers from $1$ to $44$ in order, one after the other. What is the remainder when $N$ is divided by $45$?

$\textbf{(A)}\ 1\qquad\textbf{(B)}\ 4\qquad\textbf{(C)}\ 9\qquad\textbf{(D)}\ 18\qquad\textbf{(E)}\ 44$

Solution

We will consider this number $\bmod\ 5$ and $\bmod\ 9$. By looking at the last digit, it is obvious that the number is $\equiv 4\bmod\ 5$. To calculate the number $\bmod\ 9$, note that

\[123456\cdots 4344 \equiv 1+2+3+4+5+6+7+8+9+(1+0)+(1+1)+\cdots+(4+3)+(4+4) \equiv 1+2+\cdots+44 \bmod\ 9,\]

so it is equivalent to

\[\frac{44\cdot 45}{2} = 22\cdot 45 \equiv 0\bmod\ 9.\]

Thus it is $0\bmod 9$ and $4\bmod 5$, so it is $\textbf{(C)} = 9\bmod\ 45.$

See Also

2017 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 18
Followed by
Problem 20
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 12 Problems and Solutions
2017 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 22
Followed by
Problem 24
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