2026 AIME II 第 4 题

先试着解答 2026 AIME II 第 4 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2026 AIME II 解答,或核对答案

所有题目均经美国数学协会(MAA)官方合法授权使用。

4.

对每个正整数 nn,令 f(n)f(n) 为把通常写法 nn 看作 bb 进制数时的数值,其中 bb 是大于 nn 中最大数字的最小整数。例如,若 n=72n = 72,则 b=8b = 8,而 7272 作为 88 进制数等于 78+2=587 \cdot 8 + 2 = 58;因此 f(72)=58f(72) = 58。求小于 10001000 且满足 f(n)=nf(n) = n 的正整数 nn 的个数。

For each positive integer nn let f(n)f(n) be the value of the base-ten numeral nn viewed in base b,b, where bb is the least integer greater than the greatest digit in n.n. For example, if n=72,n = 72, then b=8,b = 8, and 7272 as a numeral in base 88 equals 78+2=58;7 \cdot 8 + 2 = 58; therefore f(72)=58.f(72) = 58. Find the number of positive integers nn less than 10001000 such that f(n)=n.f(n) = n.

答案:279
知识点:进制数字补集计数
难度评级:2300
解答:

nn 是一位数 dd,则数字 dd 在任何进制下的值都是 dd,所以 f(n)=nf(n) = n;全部 99 个一位正整数都可行。若 nn 的数字为 dk1d1d0d_{k-1} \ldots d_1 d_0,其中 k2k \ge 2,则总有 b10b \le 10;若 b<10b \lt 10,则 f(n)=dibi<di10i=nf(n) = \sum d_i b^i \lt \sum d_i 10^i = n,因为最高位满足 dk1bk1<dk110k1d_{k-1} b^{k-1} \lt d_{k-1} 10^{k-1}。所以多位数 nn 满足 f(n)=nf(n) = n 当且仅当 b=10b = 10,也就是 nn 的某个数字等于 99

含有 99 的两位数有 90909999,以及 19,29,,8919, 29, \ldots, 89,共有 10+8=1810 + 8 = 18 个。含有 99 的三位数有 900899=252900 - 8 \cdot 9 \cdot 9 = 252 个,这是从所有三位数中减去不含 99 的数(首位为 1188,其余位为 0088)。

总数为 9+18+252=2799 + 18 + 252 = 279

If nn has a single digit d,d, then the numeral dd has value dd in every base, so f(n)=n:f(n) = n: all 99 one-digit numbers work. If nn has digits dk1d1d0d_{k-1} \ldots d_1 d_0 with k2,k \ge 2, then b10b \le 10 always, and if b<10b \lt 10 then f(n)=dibi<di10i=nf(n) = \sum d_i b^i \lt \sum d_i 10^i = n because the leading digit satisfies dk1bk1<dk110k1.d_{k-1} b^{k-1} \lt d_{k-1} 10^{k-1}. So a multi-digit nn satisfies f(n)=nf(n) = n exactly when b=10,b = 10, that is, when some digit of nn equals 9.9.

Two-digit numbers containing a 9:9: the numbers 9090 through 9999 plus 19,29,,89,19, 29, \ldots, 89, for 10+8=18.10 + 8 = 18. Three-digit numbers containing a 9:9: 900899=252,900 - 8 \cdot 9 \cdot 9 = 252, subtracting the numbers with no 99 (leading digit 118,8, others 0088).

The total is 9+18+252=279.9 + 18 + 252 = 279.

← 第 3 题#3
完整试卷

其他年份的第 4 题