Art of Problem Solving

2019 AMC 10A Problems/Problem 2: Difference between revisions

Peppapig (talk | contribs)
Secretuser17 (talk | contribs)
latex is pain
 
(37 intermediate revisions by 21 users not shown)
Line 1: Line 1:
== Problem ==
== Problem ==
What is the hundreds digit of <math>(20!-15!)?</math>
What is the hundreds digit of <imath>(20!-15!)?</imath>


<math>\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }5</math>
<imath>\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }5</imath>


== Solution ==
==Solution 1==
Because we know that <imath>5^3</imath> is a factor of <imath>15!</imath> and <imath>20!</imath>, the last three digits of both numbers is a <imath>0</imath>, this means that the difference of the hundreds digits is also <imath>\boxed{\textbf{(A) }0}</imath>.


The last three digits of <math>n!</math> for all <math>n\geq15</math> are <math>000</math>, because there are at least three <math>2</math>s and three <math>5</math>s in its prime factorization. Because <math>0-0=0</math>, the answer is <math>\boxed{\textbf{(A) }0}</math>.
==Solution 2==


== Solution 2 ==
We can clearly see that <imath>20! \equiv 15! \equiv 0 \pmod{1000}</imath>, so <imath>20! - 15! \equiv 0 \pmod{100}</imath> meaning that the last two digits are equal to <imath>00</imath> and the hundreds digit is <imath>\boxed{\textbf{(A)}\ 0}</imath>.


20 and 15 are both greater than 10, they are divisible by 100, and therefore, the hundreds digit is <math>\boxed{\textbf{(A) }0}</math>. ~ Peppapig_
--abhinavg0627
 
==Solution 3 (Brute Force)==
 
<imath>20!= 2432902008176640000</imath>
and <imath>15!= 1307674368000</imath>
 
Then, we see that the hundreds digit is <imath>0-0=\boxed{\textbf{(A)}\ 0}</imath>.
 
~dragoon
 
Please do not do this and only use this solution as a last resort.
 
Note for people not used to comp. math: This is a completely reasonable way to solve this problem.
 
==Solution 4 (Solution 1 but simpler)==
 
The prime factorization of <imath>15!</imath> (it is easier than it seems) is <imath>2^(11) * 3^6 * 5^3 * 7^2 * 11 * 13</imath>
 
Notice that it includes <imath>2^3 * 5^3</imath> which is 1000
 
Therefore 15! and 20! are both multiples of 1000, the hundreds place is <imath>\boxed{\textbf{(A)}\ 0}</imath>.
 
==Video Solution by Education, the Study of Everything==
 
https://youtu.be/J4Bqztwjyxw
 
~Education, The Study of Everything
 
==Video Solution by WhyMath==
 
https://youtu.be/V1fY0oLSHvo
 
~savannahsolver
 
==Video Solution by OmegaLearn==
 
https://youtu.be/zfChnbMGLVQ?t=3899
 
~pi_is_3.14


==See Also==
==See Also==
Line 16: Line 56:
{{AMC10 box|year=2019|ab=A|num-b=1|num-a=3}}
{{AMC10 box|year=2019|ab=A|num-b=1|num-a=3}}
{{MAA Notice}}
{{MAA Notice}}
[[Category: Introductory Number Theory Problems]]

Latest revision as of 09:58, 10 November 2025

Problem

What is the hundreds digit of $(20!-15!)?$

$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }5$

Solution 1

Because we know that $5^3$ is a factor of $15!$ and $20!$, the last three digits of both numbers is a $0$, this means that the difference of the hundreds digits is also $\boxed{\textbf{(A) }0}$.

Solution 2

We can clearly see that $20! \equiv 15! \equiv 0 \pmod{1000}$, so $20! - 15! \equiv 0 \pmod{100}$ meaning that the last two digits are equal to $00$ and the hundreds digit is $\boxed{\textbf{(A)}\ 0}$.

--abhinavg0627

Solution 3 (Brute Force)

$20!= 2432902008176640000$ and $15!= 1307674368000$

Then, we see that the hundreds digit is $0-0=\boxed{\textbf{(A)}\ 0}$.

~dragoon

Please do not do this and only use this solution as a last resort.

Note for people not used to comp. math: This is a completely reasonable way to solve this problem.

Solution 4 (Solution 1 but simpler)

The prime factorization of $15!$ (it is easier than it seems) is $2^(11) * 3^6 * 5^3 * 7^2 * 11 * 13$

Notice that it includes $2^3 * 5^3$ which is 1000

Therefore 15! and 20! are both multiples of 1000, the hundreds place is $\boxed{\textbf{(A)}\ 0}$.

Video Solution by Education, the Study of Everything

https://youtu.be/J4Bqztwjyxw

~Education, The Study of Everything

Video Solution by WhyMath

https://youtu.be/V1fY0oLSHvo

~savannahsolver

Video Solution by OmegaLearn

https://youtu.be/zfChnbMGLVQ?t=3899

~pi_is_3.14

See Also

2019 AMC 10A (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
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

These problems are copyrighted © by the Mathematical Association of America.