返回题库

PUMaC 2007 · 代数(B 组) · 第 2 题

PUMaC 2007 — Algebra (Division B) — Problem 2

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

Hugo、Evo 和 Fidel 在玩龙与地下城,需要很多二十面骰。Hugo 掷了25个二十面骰,总和只有70。Fidel 安慰他说,在这个总和下,掷出的数字乘积已经是最大可能值了。Hugo 掷出了多少个2?

英文原题

  1. Hugo, Evo, and Fidel are playing Dungeons and Dragons, which requires many twenty-sided dice.
    Attempting to slay Evo’s vicious hobgoblin +1 of viciousness, Hugo rolls 25 20-sided dice, obtaining
    a sum of (alas!) only 70. Trying to console him, Fidel notes that, given that sum, the product of
    the numbers rolled was as large as possible. How many 2s did Hugo roll?
解析

设 25 次掷骰结果为正整数,和为 7070。在正整数个数和总和固定时,乘积在各数尽量接近时最大。

因为

7025=2.8,\frac{70}{25}=2.8,

所以最大乘积时所有点数应只可能是 22 和 33。设有 kk 个 22,则有 25−k25-k 个 33,于是

2k+3(25−k)=70.2k+3(25-k)=70.

即

75−k=70,75-k=70,

所以 k=5k=5。因此 Hugo 掷出了

5\boxed{5}

个 22。


英文解析

Let the 25 rolls be positive integers with sum 7070. For a fixed sum and fixed number of positive integer factors, the product is maximized when the factors are as equal as possible.

Since

7025=2.8,\frac{70}{25}=2.8,

the maximizing rolls should be only 22's and 33's. If there are kk twos and 25−k25-k threes, then

2k+3(25−k)=70.2k+3(25-k)=70.

Thus

75−k=70,75-k=70,

so k=5k=5. Therefore Hugo rolled

5\boxed{5}

twos.