Difference between revisions of "2021 JMPSC Sprint Problems/Problem 15"

(Solution)
Line 6: Line 6:
  
 
<math>0-25=-25</math>. <math>-25\equiv\boxed{75}\pmod{100}</math>
 
<math>0-25=-25</math>. <math>-25\equiv\boxed{75}\pmod{100}</math>
 +
 +
== Solution 2 ==
 +
 +
By multiplying out several powers of <math>5</math>, we can observe that the last <math>2</math> digits are always <math>25</math> (with the exception of <math>5^n</math> where <math>n \le 1</math>). Also, <math>10^10</math> ends with several zeros, so the answer is <math>100...00 - 25 = 99...99 - 24 = 999...75</math>.
 +
 +
 +
~Mathdreams

Revision as of 11:22, 11 July 2021

Problem

Find the last two digits of $10^{10}-5^{10}.$

Solution

Note that $10^{10}\equiv0\pmod{100}$ and $5^{10}\equiv25\pmod{100}$.

$0-25=-25$. $-25\equiv\boxed{75}\pmod{100}$

Solution 2

By multiplying out several powers of $5$, we can observe that the last $2$ digits are always $25$ (with the exception of $5^n$ where $n \le 1$). Also, $10^10$ ends with several zeros, so the answer is $100...00 - 25 = 99...99 - 24 = 999...75$.


~Mathdreams