AMC 8 2017 Problem 19

AMC8 2017 年第 19 题

整除与因数★★★★☆
For any positive integer MM , the notation M! denotes the product of the integers 1 through MM . What is the largest integer nn for which 5n5^n is a factor of the sum 98!+99!+100! ?
对于任何正整数 M,符号 M! 表示从 1 到 M 的所有整数的乘积(例如 4! = 1×2×3×4 = 24)。求使得 5n5^n 是 98!+99!+100! 的因子的最大整数 n 是多少?
  1. A.23
  2. B.24
  3. C.25
  4. D.26
  5. E.27

正确答案 · Correct Answer

D

解析 · Solution

解法1

三个连续阶乘相加,先「提公因式」化简成 98!×10498!\times10^4,再数里头有几个 5。答案 n=26。难点全在「数 5」那一步——25 是个坑。
解法1(提公因式 + 数 5) 98!、99!、100! 里 98! 最小。由 99!=99×98!、100!=100×99×98! 把 98! 提出来:
98!+99!+100!=98! (1+99+99×100)=98! (1+99+9900)=98!×10000=98!×104.98!+99!+100!=98!\,(1+99+99×100)=98!\,(1+99+9900)=98!\times10000=98!\times10^4.
要找最大的 nn 使 5n5^n 整除它,就是数这个数里「一共有几个质因数 5」。 · 104=(2×5)410^4=(2×5)^4,含 4 个 5。 · 98!=1×2×⋯×9898!=1×2\times\cdots\times98 里有几个 5?只有 5 的倍数才带 5: 先数 5 的倍数 5、10、15、…、95,共 ⌊985⌋=19\displaystyle \left\lfloor\frac{98}{5}\right\rfloor=19 个,各带一个 5 → 先记 19 个。 「但 25、50、75 是 525^2 的倍数,每个其实带两个 5」,上一步只数到一个,要再补一个:⌊9825⌋=3\displaystyle \left\lfloor\frac{98}{25}\right\rfloor=3 个 → 再加 3。 再上一层 125 是 535^3?而 125>98,没有,停。 合计 19+3=22 个 5。 · 两处相加:22+4=26。所以 n=26。

Solution 1

*(Factor out, then count fives.)* Among 98!, 99!, 100! the smallest is 98!. Using 99!=99×98! and 100!=100×99×98!:
98!+99!+100!=98! (1+99+99×100)=98! (1+99+9900)=98!×10000=98!×104.98!+99!+100!=98!\,(1+99+99×100)=98!\,(1+99+9900)=98!\times10000=98!\times10^4.
The largest nn with 5n5^n dividing this is just the total number of factors of 5 in it. · 104=(2×5)410^4=(2×5)^4 contributes 4 fives. · How many 5's in 98!=1×2×⋯×9898!=1×2\times\cdots\times98? Only multiples of 5 carry one. Count multiples of 5: 5, 10, …, 95, that is ⌊985⌋=19\displaystyle \left\lfloor\frac{98}{5}\right\rfloor=19, each giving one 5 → 19 so far. But 25, 50, 75 are multiples of 525^2 and carry two 5's each; the first pass caught only one, so add ⌊9825⌋=3\displaystyle \left\lfloor\frac{98}{25}\right\rfloor=3 more. Next level 125 is 53>985^3>98: none. Total 19+3=22. · Add up: 22+4=26, so n=26.

继续练习

真题版权归属 MAA(AMC)。本站仅供学习用途。版权方如有异议,请联系本站予以下架。

Problems © MAA (AMC). This site is for study purposes only. Rightsholders may contact us for removal.