Take a test Sign in 中文
← Exercise 948 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 948
What is the number formed by the last two nonzero digits of $60!$?
← Back to Problem 948
Solution
  1. $60!$ has $12+2=14$ factors of $5$; let $N=60!/10^{14}$. Since $60!$ has far more than $14$ factors of $2$, $N\equiv0\pmod4$; we find $N$ mod $25$.
  2. $5\cdot10\cdots60=5^{12}\cdot12!$ and $12!=5^2\cdot2!\cdot B$, so $60!=5^{14}\cdot A\cdot B\cdot2$, where $A$ is the product of the numbers $\le60$ not divisible by $5$ and $B$ that of the numbers $\le12$ not divisible by $5$. Mod $25$, every group of four $(5k+1)(5k+2)(5k+3)(5k+4)\equiv24+5k\cdot50\equiv-1$. So $A\equiv(-1)^{12}=1$, $B\equiv(-1)^2\cdot11\cdot12=132\equiv7$, and $\frac{60!}{5^{14}}\equiv1\cdot7\cdot2=14\pmod{25}$.
  3. $2^{10}=1024\equiv-1$, so $2^{14}\equiv-16\equiv9$, and $9\cdot14=126\equiv1$ gives $9^{-1}\equiv14$. So $N\equiv14\cdot14=196\equiv21\pmod{25}$. With $N\equiv0\pmod 4$: $N\equiv\boxed{96}\pmod{100}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year