1996 AIME 第 14 题

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

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

14.

一个 150×324×375150\times324\times375 的长方体由 1×1×11\times1\times1 的小正方体粘合而成。这个长方体的一条体对角线穿过多少个 1×1×11\times1\times1 小正方体的内部?

A 150×324×375150\times324\times375 rectangular solid is made by gluing together 1×1×11\times1\times1 cubes. An internal diagonal of this solid passes through the interiors of how many of the 1×1×11\times1\times1 cubes?

答案:768
知识点:长方体容斥原理最大公约数
难度评级:2270
小提示:

计算体对角线穿过各坐标网格平面的次数

Count the coordinate-plane crossings of the space diagonal

大提示:

用最大公约数修正同时穿过两个或三个网格平面的情形

Correct for crossings of two or three grid planes at once using greatest common divisors

解答:

对于一个 a×b×ca\times b\times c 的方块阵列,对角线分别穿过三个方向上的 a1a-1b1b-1c1c-1 个内部网格平面。两个方向的穿越分别有 gcd(a,b)1\gcd(a,b)-1gcd(a,c)1\gcd(a,c)-1gcd(b,c)1\gcd(b,c)-1 次重合,而三个方向的穿越有 gcd(a,b,c)1\gcd(a,b,c)-1 次重合。加上起始小正方体,再使用容斥原理,得到 a+b+cgcd(a,b)gcd(a,c)gcd(b,c)+gcd(a,b,c)\begin{gathered}a+b+c-\gcd(a,b)\\-\gcd(a,c)-\gcd(b,c)\\+\gcd(a,b,c)\end{gathered}\text{。}三个两两最大公约数分别为 66757533,三者的最大公约数为 33。因此对角线穿过内部的小正方体个数为 150+324+3756753+3=768\begin{gathered}150+324+375\\-6-75-3+3=768\end{gathered}\text{。}

For an a×b×ca\times b\times c array, the diagonal crosses a1,a-1, b1,b-1, and c1c-1 internal grid planes of the three orientations. Crossings of two orientations coincide gcd(a,b)1,\gcd(a,b)-1, gcd(a,c)1,\gcd(a,c)-1, and gcd(b,c)1\gcd(b,c)-1 times, and triple crossings occur gcd(a,b,c)1\gcd(a,b,c)-1 times. Adding one for the initial cube and applying inclusion-exclusion gives a+b+cgcd(a,b)gcd(a,c)gcd(b,c)+gcd(a,b,c).\begin{gathered}a+b+c-\gcd(a,b)\\-\gcd(a,c)-\gcd(b,c)\\+\gcd(a,b,c).\end{gathered} Here the pairwise gcds are 6,6, 75,75, and 3,3, and the triple gcd is 3.3. Thus the number of cube interiors met is 150+324+3756753+3=768.\begin{gathered}150+324+375\\-6-75-3+3=768.\end{gathered}

← 第 13 题#13
完整试卷

其他年份的第 14 题