2026 AIME II 详解

向下滚动即可查看来自 LIVE by Po-Shen Loh 的精心整理的解答,打印PDF 解答,查看答案,或参加完整限时模拟考试

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

1.

求所有整数等差数列的第 1010 项之和,这些数列的首项都等于 44,并且都包含 24243434 作为其中的项。

Find the sum of the 1010th terms of all arithmetic sequences of integers that have first term equal to 44 and include both 2424 and 3434 as terms.

知识点:等差数列整除性最大公约数
难度评级:1840
小提示:

若公差为 dd,则 24243434 都是项会迫使 dd 同时整除 20203030

If the common difference is d,d, then 2424 and 3434 both being terms forces dd to divide both 2020 and 30.30.

大提示:

公差必须是 1010 的正因数;对所有这样的 dd,把第 10104+9d4 + 9d 加起来。

The common difference must be a positive divisor of 10;10; add up the 1010th terms 4+9d4 + 9d over all such d.d.

解答:

设公差为 dd。因为首项是 44,且 24243434 都出现,所以 dd 整除 244=2024 - 4 = 20344=3034 - 4 = 30,因此 dd 整除 gcd(20,30)=10\gcd(20, 30) = 10。为了从 44 到达 24243434,公差必须为正,所以 d{1,2,5,10}d \in \{1, 2, 5, 10\};这些值也都可行,因为 20203030 都能被 dd 整除,这使两个目标都落在数列中。

1010 项为 4+9d4 + 9d,所以所求和为 d{1,2,5,10}(4+9d)=44+9(1+2+5+10)=16+162=178 \begin{aligned} &\sum_{d \in \{1,2,5,10\}} (4 + 9d) \\ &= 4 \cdot 4 + 9(1 + 2 + 5 + 10) \\ &= 16 + 162 = 178 \end{aligned}\text{。}

Let the common difference be d.d. Since the first term is 44 and both 2424 and 3434 appear, dd divides 244=2024 - 4 = 20 and 344=30,34 - 4 = 30, so dd divides gcd(20,30)=10.\gcd(20, 30) = 10. The difference must be positive to reach 2424 and 3434 from 4,4, so d{1,2,5,10}d \in \{1, 2, 5, 10\} (and each of these works, since 2020 and 3030 are both divisible by d,d, which puts both targets in the sequence).

The 1010th term is 4+9d,4 + 9d, so the requested sum is d{1,2,5,10}(4+9d)=44+9(1+2+5+10)=16+162=178. \begin{aligned} &\sum_{d \in \{1,2,5,10\}} (4 + 9d) \\ &= 4 \cdot 4 + 9(1 + 2 + 5 + 10) \\ &= 16 + 162 = 178. \end{aligned}

2.

下图是一排 1010 个正方形组成的网格。每个正方形都有一条从左下顶点连到右上顶点的对角线。一只虫子沿线段从顶点走到顶点,永不经过同一条线段两次,并且在水平线段或对角线段上绝不从右向左走。设 NN 为虫子从左下角 (A)(A) 走到右上角 (B)(B) 的路径数。图中粗线段展示了一条从 AABB 的路径。求 N\sqrt{N}

The figure below shows a grid of 1010 squares in a row. Each square has a diagonal connecting its lower left vertex to its upper right vertex. A bug moves along the line segments from vertex to vertex, never traversing the same segment twice and never moving from right to left along a horizontal or diagonal segment. Let NN be the number of paths the bug can take from the lower left corner (A)(A) to the upper right corner (B).(B). One such path from AA to BB is shown by the thick line segments in the figure. Find N.\sqrt{N}.

知识点:格路乘法原理
难度评级:2230
小提示:

因为虫子绝不向左走,它在 x=ix = ix=i+1x = i + 1 之间的每个竖条中恰好穿过一次,走底边、顶边或对角线。

Since the bug never moves left, it crosses the strip between x=ix = i and x=i+1x = i + 1 exactly once, along the bottom edge, the top edge, or the diagonal.

大提示:

竖直线段完全由这十次穿越的选择决定,所以每个正方形独立贡献 33 种选择。

The vertical segments are completely determined by the ten crossing choices, so each square independently contributes 33 options.

解答:

A=(0,0)A = (0, 0)B=(10,1)B = (10, 1)。每次水平或对角移动都向右,所以虫子的 xx 坐标从不减小;它会恰好穿过这 1010 个竖条各一次,并在相应正方形的三条向右线段中选一条:底边、顶边或对角线。

这十个选择决定整条路径。每次穿越会以确定的高度到达(底边到达低处,顶边或对角线到达高处),也会从确定的高度离开(底边或对角线从低处离开,顶边从高处离开)。因此在每条竖直线上,虫子恰好在到达高度与离开高度不同时走那条竖直线段;每条竖直线段至多需要一次,所以不会重复线段。两端同理:虫子从 AA 的低处开始,到 BB 的高处结束,必要时使用端点处的竖直线段。反过来,每串选择都给出一条合法路径。

因此 N=310N = 3^{10},且 N=35=243\sqrt{N} = 3^5 = 243

Put A=(0,0)A = (0, 0) and B=(10,1).B = (10, 1). Every horizontal and diagonal move goes rightward, so the bug’s xx-coordinate never decreases, and it crosses each of the 1010 vertical strips exactly once, using exactly one of that square’s three rightward segments: the bottom edge, the top edge, or the diagonal.

These ten choices determine the whole path. Each crossing arrives at a definite height (bottom edge: low; top edge or diagonal: high) and departs at a definite height (bottom edge or diagonal: low; top edge: high), so at each vertical line the bug traverses the vertical segment exactly when the arrival and departure heights differ — and each vertical segment is needed at most once, so no segment repeats. The same applies at the ends: the bug starts low at AA and finishes high at B,B, using the end verticals if necessary. Conversely, every sequence of choices yields a valid path.

Therefore N=310,N = 3^{10}, and N=35=243.\sqrt{N} = 3^5 = 243.

3.

ABCDEABCDE 是一个非凸五边形,内角满足 A=E=90\angle A = \angle E = 90^\circB=D=45\angle B = \angle D = 45^\circ。已知 DE<ABDE \lt ABAE=20AE = 20BC=142BC = 14\sqrt{2},并且点 BBCCDD 都在直线 AEAE 的同一侧。还已知 ABAB 是整数,AB<2026AB \lt 2026,且五边形 ABCDEABCDE 的面积是 1616 的整数倍。求 ABAB 可能取值的个数。

Let ABCDEABCDE be a nonconvex pentagon with internal angles A=E=90\angle A = \angle E = 90^\circ and B=D=45.\angle B = \angle D = 45^\circ. Suppose that DE<AB,DE \lt AB, AE=20,AE = 20, BC=142,BC = 14\sqrt{2}, and points B,B, C,C, and DD lie on the same side of line AE.AE. Suppose further that ABAB is an integer with AB<2026AB \lt 2026 and the area of pentagon ABCDEABCDE is an integer multiple of 16.16. Find the number of possible values of AB.AB.

难度评级:2510
小提示:

AA 放在原点,并令 E=(20,0)E = (20, 0)AAEE 处的直角使 ABABEDED 竖直。

Put AA at the origin and E=(20,0);E = (20, 0); the right angles at AA and EE make ABAB and EDED vertical.

大提示:

BBDD 处的 4545^\circ 角迫使 C=(14,AB14)C = (14, AB - 14)DE=AB8DE = AB - 8;鞋带公式把面积条件化为关于 ABAB 的同余式。

The 4545^\circ angles at BB and DD force C=(14,AB14)C = (14, AB - 14) and DE=AB8;DE = AB - 8; the shoelace formula turns the area condition into a congruence for AB.AB.

解答:

A=(0,0)A = (0, 0)E=(20,0)E = (20, 0),使五边形在直线 AEAE 上方,并设 h=ABh = ABAAEE 处的直角使 ABABEDED 竖直:B=(0,h)B = (0, h)D=(20,k)D = (20, k),其中 k=DEk = DE。在 BB 处,边 BC=142BC = 14\sqrt{2} 与向下的射线 BABA4545^\circ 角并进入五边形,所以 C=(14,h14)C = (14, h - 14)。类似地,在 DD 处,边 DCDC 与向下的射线 DEDE4545^\circ 角,所以 C=(20s,ks)C = (20 - s, k - s),其中 s=DC2s = \frac{DC}{\sqrt{2}}。比较坐标得 s=6s = 6k=h8k = h - 8。此时 CC 处的内角是反角 270270^\circ(角和 90+45+270+45+90=54090 + 45 + 270 + 45 + 90 = 540),且 DE=h8<ABDE = h - 8 \lt AB 自动成立。

A(0,0)A(0,0)B(0,h)B(0,h)C(14,h14)C(14, h-14)D(20,h8)D(20, h-8)E(20,0)E(20, 0) 使用鞋带公式,得到面积 [ABCDE]=1214h+(6h+168)+(20h+160)=20h164 \begin{aligned} [ABCDE] &= \frac{1}{2}\big|{-14h} + (-6h + 168) \\ &\qquad {}+ (-20h + 160)\big| \\ &= 20h - 164 \end{aligned} 20h16420h - 164 能被 1616 整除这一条件化为 4h4(mod16)4h \equiv 4 \pmod{16},也就是 h1(mod4)h \equiv 1 \pmod 4。为了使 CCBBDD 严格在直线 AEAE 的同一侧,需要 h>14h \gt 14

所以 hh17,21,25,,202517, 21, 25, \ldots, 2025,共有 2025174+1=503\frac{2025 - 17}{4} + 1 = 503 个值。

Place A=(0,0)A = (0, 0) and E=(20,0)E = (20, 0) with the pentagon above line AE,AE, and write h=AB.h = AB. The right angles at AA and EE make ABAB and EDED vertical: B=(0,h)B = (0, h) and D=(20,k)D = (20, k) with k=DE.k = DE. At BB the side BC=142BC = 14\sqrt{2} makes a 4545^\circ angle with the downward ray BA,BA, heading into the pentagon, so C=(14,h14).C = (14, h - 14). Similarly at D,D, the side DCDC makes a 4545^\circ angle with the downward ray DE,DE, so C=(20s,ks)C = (20 - s, k - s) where s=DC2.s = \frac{DC}{\sqrt{2}}. Matching coordinates gives s=6s = 6 and k=h8.k = h - 8. The interior angle at CC is then the reflex angle 270270^\circ (angle sum 90+45+270+45+90=54090 + 45 + 270 + 45 + 90 = 540), and DE=h8<ABDE = h - 8 \lt AB automatically.

The shoelace formula on A(0,0),A(0,0), B(0,h),B(0,h), C(14,h14),C(14, h-14), D(20,h8),D(20, h-8), E(20,0)E(20, 0) gives area [ABCDE]=1214h+(6h+168)+(20h+160)=20h164. \begin{aligned} [ABCDE] &= \frac{1}{2}\big|{-14h} + (-6h + 168) \\ &\qquad {}+ (-20h + 160)\big| \\ &= 20h - 164. \end{aligned} The condition that 20h16420h - 164 be divisible by 1616 reduces to 4h4(mod16),4h \equiv 4 \pmod{16}, that is, h1(mod4).h \equiv 1 \pmod 4. For CC to lie strictly on the same side of line AEAE as BB and D,D, we need h>14.h \gt 14.

So hh runs over 17,21,25,,2025,17, 21, 25, \ldots, 2025, which is 2025174+1=503\frac{2025 - 17}{4} + 1 = 503 values.

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.

难度评级:2300
小提示:

一位数在任何进制中读出的值都相同。对更长的数,比较位值:若 b<10b \lt 10,每个数字的权重都比通常写法中小。

One-digit numbers read the same in every base. For longer numerals compare place values: if b<10,b \lt 10, each digit is worth less than in base ten.

大提示:

所以多位数解恰好是含有数字 99 的数;用补集计数。

So the multi-digit solutions are exactly the numbers containing a digit 9;9; count those with complementary counting.

解答:

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.

5.

一个罐中有 nn 个弹珠。每个弹珠不是红色就是蓝色,且每种颜色至少有 77 个弹珠。从罐中不放回地随机抽取 77 个弹珠时,恰好 44 个为红色的概率等于恰好 55 个为红色的概率。求使这件事可能的最小五个 nn 值之和。

An urn contains nn marbles. Each marble is either red or blue, and there are at least 77 marbles of each color. When 77 marbles are drawn randomly from the urn without replacement, the probability that exactly 44 of them are red equals the probability that exactly 55 of them are red. Find the sum of the five least values of nn for which this is possible.

难度评级:2390
小提示:

用组合数写出两个概率,(r4)(b3)\binom{r}{4}\binom{b}{3}(r5)(b2)\binom{r}{5}\binom{b}{2},然后约去公共因子。

Write both probabilities with binomial coefficients, (r4)(b3)\binom{r}{4}\binom{b}{3} and (r5)(b2),\binom{r}{5}\binom{b}{2}, and cancel the common factors.

大提示:

方程化简为 5(b2)=3(r4)5(b - 2) = 3(r - 4),所以 r4(mod5)r \equiv 4 \pmod 5;记得两种颜色都至少需要 77 个弹珠。

The equation reduces to 5(b2)=3(r4),5(b - 2) = 3(r - 4), so r4(mod5);r \equiv 4 \pmod 5; remember both colors need at least 77 marbles.

解答:

设红弹珠有 rr 个、蓝弹珠有 bb 个,且 r,b7r, b \ge 7。条件为 (r4)(b3)=(r5)(b2)\binom{r}{4}\binom{b}{3} = \binom{r}{5}\binom{b}{2}。因为 (r5)=(r4)r45\binom{r}{5} = \binom{r}{4}\frac{r-4}{5}(b3)=(b2)b23\binom{b}{3} = \binom{b}{2}\frac{b-2}{3},约去公共因子得 b23=r45\frac{b - 2}{3} = \frac{r - 4}{5}\text{,} 也就是 b=3r25b = \frac{3r - 2}{5}\text{。}

因此 r4(mod5)r \equiv 4 \pmod 5,而 b7b \ge 7 要求 3r2353r - 2 \ge 35,所以 r14r \ge 14。 最小的五个选择为 r=14,19,24,29,34r = 14, 19, 24, 29, 34,对应 b=8,11,14,17,20b = 8, 11, 14, 17, 20,给出 n=22,30,38,46,54n = 22, 30, 38, 46, 54

和为 22+30+38+46+54=19022 + 30 + 38 + 46 + 54 = 190

Say there are rr red and bb blue marbles, r,b7.r, b \ge 7. The condition is (r4)(b3)=(r5)(b2).\binom{r}{4}\binom{b}{3} = \binom{r}{5}\binom{b}{2}. Since (r5)=(r4)r45\binom{r}{5} = \binom{r}{4}\frac{r-4}{5} and (b3)=(b2)b23,\binom{b}{3} = \binom{b}{2}\frac{b-2}{3}, cancelling gives b23=r45,\frac{b - 2}{3} = \frac{r - 4}{5}, that is, b=3r25.b = \frac{3r - 2}{5}.

So r4(mod5),r \equiv 4 \pmod 5, and b7b \ge 7 requires 3r235,3r - 2 \ge 35, so r14.r \ge 14. The five smallest choices are r=14,19,24,29,34r = 14, 19, 24, 29, 34 with b=8,11,14,17,20,b = 8, 11, 14, 17, 20, giving n=22,30,38,46,54.n = 22, 30, 38, 46, 54.

The sum is 22+30+38+46+54=190.22 + 30 + 38 + 46 + 54 = 190.

6.

求所有实数 rr 的和,使得以 (4,39)(4, 39) 为圆心、半径为 rr 的圆至少在一点处与方程 2y=x28x+122y = x^2 - 8x + 12 的抛物线相切。

Find the sum of all real numbers rr such that there is at least one point where the circle with radius rr centered at (4,39)(4, 39) is tangent to the parabola with equation 2y=x28x+12.2y = x^2 - 8x + 12.

难度评级:2650
小提示:

圆心 (4,39)(4, 39) 在抛物线的对称轴上。把抛物线上的点写成 (4+u, u222)(4 + u,\ \frac{u^2}{2} - 2),并研究到圆心的距离平方作为 uu 的函数。

The center (4,39)(4, 39) lies on the parabola’s axis. Write points of the parabola as (4+u, u222)(4 + u,\ \frac{u^2}{2} - 2) and study the squared distance to the center as a function of u.u.

大提示:

相切恰好发生在半径垂直于抛物线的地方,也就是距离函数的临界点;不要忘记顶点,在那里两条曲线都有水平切线。

Tangency happens exactly where the radius is normal to the parabola, i.e. at critical points of the distance; don’t forget the vertex, where both curves have horizontal tangents.

解答:

配方得 2y=(x4)242y = (x - 4)^2 - 4,所以令 u=x4u = x - 4 时,抛物线上的点为 (4+u, u222)\left(4 + u,\ \frac{u^2}{2} - 2\right)。圆心 (4,39)(4, 39) 在其对称轴上。圆在某点与抛物线相切,当且仅当两条曲线在该点有相同切线,也就是从圆心到该点的半径为抛物线的法线;这恰好出现在距离平方的临界点:D(u)=u2+(u2241)2,D(u)=2u+u(u282)=u(u280) \begin{aligned} &D(u) = u^2 + \left(\frac{u^2}{2} - 41\right)^2, \\ &D'(u) = 2u + u\left(u^2 - 82\right) \\ &\quad {}= u\left(u^2 - 80\right) \end{aligned}\text{。}

u=±80u = \pm\sqrt{80} 时,D=80+(4041)2=81D = 80 + (40 - 41)^2 = 81,所以 r=9r = 9(这个圆在两个对称点与抛物线相切)。当 u=0u = 0 时,该点是顶点 (4,2)(4, -2),到圆心距离为 4141。半径为 4141 的圆与抛物线在那里都有水平切线,所以 r=41r = 41 也可行。

所求和为 9+41=509 + 41 = 50

Completing the square, 2y=(x4)24,2y = (x - 4)^2 - 4, so with u=x4u = x - 4 the parabola is the set of points (4+u, u222)\left(4 + u,\ \frac{u^2}{2} - 2\right) and the center (4,39)(4, 39) lies on its axis. The circle is tangent to the parabola at a point exactly when the two curves share a tangent line there, i.e. when the radius to that point is normal to the parabola — which happens exactly at critical points of the squared distance D(u)=u2+(u2241)2,D(u)=2u+u(u282)=u(u280). \begin{aligned} &D(u) = u^2 + \left(\frac{u^2}{2} - 41\right)^2, \\ &D'(u) = 2u + u\left(u^2 - 82\right) \\ &\quad {}= u\left(u^2 - 80\right). \end{aligned}

At u=±80:u = \pm\sqrt{80}: D=80+(4041)2=81,D = 80 + (40 - 41)^2 = 81, so r=9r = 9 (the circle touches the parabola at two symmetric points). At u=0,u = 0, the point is the vertex (4,2)(4, -2) at distance 41,41, where the parabola and the circle of radius 4141 both have horizontal tangent lines, so r=41r = 41 also works.

The sum is 9+41=50.9 + 41 = 50.

7.

反复掷一枚标准公平六面骰。每次掷出 1122 时,Alice 得到一枚硬币;每次掷出 3344 时,Bob 得到一枚硬币;每次掷出 5566 时,Carol 得到一枚硬币。Alice 和 Bob 都在 Carol 得到任何硬币之前各自至少得到两枚硬币的概率可写成 mn\frac{m}{n},其中 mmnn 是互质正整数。求 100m+n100m + n

A standard fair six-sided die is rolled repeatedly. Each time the die reads 11 or 2,2, Alice gets a coin; each time it reads 33 or 4,4, Bob gets a coin; and each time it reads 55 or 6,6, Carol gets a coin. The probability that Alice and Bob each receive at least two coins before Carol receives any coins can be written as mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find 100m+n.100m + n.

难度评级:2840
小提示:

按第一次出现 Carol 的掷骰是第 k+1k + 1 次来分类:之前的 kk 次都是 Alice 或 Bob,且必须每人至少出现两次。

Condition on the first Carol roll being roll k+1:k + 1: the kk rolls before it are Alice/Bob rolls that must include at least two of each.

大提示:

给定 kk 次 Alice/Bob 结果,所有 2k2^k 种模式等可能,其中至多一个 Alice 或至多一个 Bob 的坏模式有 2k+22k + 2 种。把相应级数求和。

Given kk Alice/Bob rolls, all 2k2^k patterns are equally likely, and 2k+22k + 2 of them have at most one Alice or at most one Bob. Sum the resulting series.

解答:

每次掷骰分别是 Alice、Bob、或 Carol 的概率都是 13\frac{1}{3}。事件成功当且仅当第一次 Carol 之前的结果中,Alice 至少出现两次且 Bob 至少出现两次。第一次 Carol 出现在第 k+1k + 1 次的概率为 (23)k13\left(\frac{2}{3}\right)^k \frac{1}{3},在此条件下,前 kk 次形成一个等可能的 Alice/Bob 字符串,共 2k2^k 种。当 k3k \ge 3 时,坏字符串为至多一个 Alice 或至多一个 Bob,数量为 (k+1)+(k+1)=2k+2(k + 1) + (k + 1) = 2k + 2,且没有字符串同时属于两类坏情形。因此 P=k413(23)k(12k+22k) \begin{aligned} P &= \sum_{k \ge 4} \frac{1}{3}\left(\frac{2}{3}\right)^k \\ &\quad {}\cdot \left(1 - \frac{2k + 2}{2^k}\right) \end{aligned}\text{。}

第一部分为 k4(23)k=1627\sum_{k \ge 4} \left(\frac{2}{3}\right)^k = \frac{16}{27}。第二部分中,k0k+13k=1(113)2=94\sum_{k \ge 0} \frac{k + 1}{3^k} = \frac{1}{(1 - \frac{1}{3})^2} = \frac{9}{4},所以 k42k+23k=2(9412313427)=211108=1154 \begin{aligned} &\sum_{k \ge 4} \frac{2k + 2}{3^k} \\ &= 2\left(\frac{9}{4} - 1 - \frac{2}{3} - \frac{1}{3} - \frac{4}{27}\right) \\ &= 2 \cdot \frac{11}{108} = \frac{11}{54} \end{aligned}\text{。}

因此 P=13(16271154)P = \frac{1}{3}\left(\frac{16}{27} - \frac{11}{54}\right) =132154=754= \frac{1}{3} \cdot \frac{21}{54} = \frac{7}{54},所以 100m+n=700+54=754100m + n = 700 + 54 = 754

Each roll is an Alice roll, a Bob roll, or a Carol roll, each with probability 13.\frac{1}{3}. The event succeeds exactly when the rolls before the first Carol roll include at least two Alice rolls and at least two Bob rolls. The first Carol roll is roll k+1k + 1 with probability (23)k13,\left(\frac{2}{3}\right)^k \frac{1}{3}, and given this, the first kk rolls form one of 2k2^k equally likely Alice/Bob strings. For k3k \ge 3 the bad strings — at most one Alice, or at most one Bob — number (k+1)+(k+1)=2k+2,(k + 1) + (k + 1) = 2k + 2, and no string is bad in both ways. Hence P=k413(23)k(12k+22k). \begin{aligned} P &= \sum_{k \ge 4} \frac{1}{3}\left(\frac{2}{3}\right)^k \\ &\quad {}\cdot \left(1 - \frac{2k + 2}{2^k}\right). \end{aligned}

The first piece is k4(23)k=1627.\sum_{k \ge 4} \left(\frac{2}{3}\right)^k = \frac{16}{27}. For the second, k0k+13k=1(113)2=94,\sum_{k \ge 0} \frac{k + 1}{3^k} = \frac{1}{(1 - \frac{1}{3})^2} = \frac{9}{4}, so k42k+23k=2(9412313427)=211108=1154. \begin{aligned} &\sum_{k \ge 4} \frac{2k + 2}{3^k} \\ &= 2\left(\frac{9}{4} - 1 - \frac{2}{3} - \frac{1}{3} - \frac{4}{27}\right) \\ &= 2 \cdot \frac{11}{108} = \frac{11}{54}. \end{aligned}

Therefore P=13(16271154)P = \frac{1}{3}\left(\frac{16}{27} - \frac{11}{54}\right) =132154=754,= \frac{1}{3} \cdot \frac{21}{54} = \frac{7}{54}, and 100m+n=700+54=754.100m + n = 700 + 54 = 754.

8.

等腰三角形 ABC\triangle ABC 满足 AB=BCAB = BC。设 IIABC\triangle ABC 的内心。ABC\triangle ABCAIC\triangle AIC 的周长之比为 125:6125 : 6,并且这两个三角形的所有边长都是整数。求 ABAB 的最小可能值。

Isosceles triangle ABC\triangle ABC has AB=BC.AB = BC. Let II be the incenter of ABC.\triangle ABC. The perimeters of ABC\triangle ABC and AIC\triangle AIC are in the ratio 125:6,125 : 6, and all the sides of both triangles have integer lengths. Find the minimum possible value of AB.AB.

难度评级:2990
小提示:

AB=BC=aAB = BC = aAC=bAC = b。内切圆与 ACAC 相切于其中点,所以 AI2=r2+b24AI^2 = r^2 + \frac{b^2}{4};海伦公式把它化简为 AI2=ab22a+bAI^2 = \frac{ab^2}{2a + b}

With AB=BC=aAB = BC = a and AC=b,AC = b, the incircle touches ACAC at its midpoint, so AI2=r2+b24;AI^2 = r^2 + \frac{b^2}{4}; Heron’s formula simplifies this to AI2=ab22a+b.AI^2 = \frac{ab^2}{2a + b}.

大提示:

a2a+b=pq\sqrt{\frac{a}{2a + b}} = \frac{p}{q} 为最简形式;周长比变为 125(q22p2)(q+2p)=6q3125(q^2 - 2p^2)(q + 2p) = 6q^3 并由整除性确定 qq

Set a2a+b=pq\sqrt{\frac{a}{2a + b}} = \frac{p}{q} in lowest terms; the perimeter ratio becomes 125(q22p2)(q+2p)=6q3,125(q^2 - 2p^2)(q + 2p) = 6q^3, and divisibility pins down q.q.

解答:

a=AB=BCa = AB = BCb=ACb = AC,则 s=a+b2s = a + \frac{b}{2}。内切圆与 ACAC 相切于中点(从 AA 出发的切线长为 sa=b2s - a = \frac{b}{2}),所以 AI2=CI2=r2+b24AI^2 = CI^2 = r^2 + \frac{b^2}{4}。由海伦公式,r2=(sa)2(sb)s=b242ab2a+br^2 = \frac{(s-a)^2(s-b)}{s} = \frac{b^2}{4} \cdot \frac{2a - b}{2a + b},因此 AI2=b24(2ab2a+b+1)=ab22a+b \begin{aligned} AI^2 &= \frac{b^2}{4}\left(\frac{2a - b}{2a + b} + 1\right) \\ &= \frac{ab^2}{2a + b} \end{aligned} 周长条件为 125(2AI+b)=6(2a+b)125\,(2\,AI + b) = 6\,(2a + b)

因为 AIAI 是有理数,令 a2a+b=pq\sqrt{\frac{a}{2a + b}} = \frac{p}{q} 为最简形式。于是 aq2=p2(2a+b)aq^2 = p^2(2a + b) 迫使 aa 能被 p2p^2 整除;写 a=mp2a = mp^2,得到 b=m(q22p2)b = m(q^2 - 2p^2)2a+b=mq22a + b = mq^2,以及 AI=mp(q22p2)qAI = \frac{mp(q^2 - 2p^2)}{q}。周长条件中的 mm 完全约去: 125(q22p2)(2p+q)=6q3125\,(q^2 - 2p^2)(2p + q) = 6q^3 因为 gcd(125,6)=1\gcd(125, 6) = 1,可知 qq 能被 55 整除;而且 qq 必须为偶数,因为若 qq 为奇数,左侧两个因子均为奇数,右侧却为偶数。写 q=10wq = 10w 并化简,得 (50w2p2)(p+5w)=12w3(50w^2 - p^2)(p + 5w) = 12w^3。由 gcd(p,q)=1\gcd(p, q) = 1,左侧两个因子都与 ww 互质。若有素数整除 ww,右侧会迫使它也整除左侧乘积,产生矛盾;因此 w=1w = 1。此时 (50p2)(p+5)=12(50 - p^2)(p + 5) = 12 的唯一正整数解为 p=7p = 7

所以 a=49ma = 49mb=2mb = 2mAI=7m5AI = \frac{7m}{5},它为整数当且仅当 mm 能被 55 整除。取 m=5m = 5 得到 ABC\triangle ABC 的边长 245,245,10245, 245, 10,以及 AIC\triangle AIC 的边长 7,7,107, 7, 10,其周长 5005002424 的比确为 125:6125 : 6。因此 ABAB 的最小可能值为 245245

Let a=AB=BCa = AB = BC and b=AC,b = AC, so s=a+b2.s = a + \frac{b}{2}. The incircle touches ACAC at its midpoint (tangent length from AA is sa=b2s - a = \frac{b}{2}), so AI2=CI2=r2+b24.AI^2 = CI^2 = r^2 + \frac{b^2}{4}. By Heron’s formula, r2=(sa)2(sb)s=b242ab2a+b,r^2 = \frac{(s-a)^2(s-b)}{s} = \frac{b^2}{4} \cdot \frac{2a - b}{2a + b}, and therefore AI2=b24(2ab2a+b+1)=ab22a+b. \begin{aligned} AI^2 &= \frac{b^2}{4}\left(\frac{2a - b}{2a + b} + 1\right) \\ &= \frac{ab^2}{2a + b}. \end{aligned} The perimeter condition is 125(2AI+b)=6(2a+b).125\,(2\,AI + b) = 6\,(2a + b).

Since AIAI is rational, write a2a+b=pq\sqrt{\frac{a}{2a + b}} = \frac{p}{q} in lowest terms. Then aq2=p2(2a+b)aq^2 = p^2(2a + b) forces aa to be divisible by p2;p^2; writing a=mp2a = mp^2 gives b=m(q22p2),b = m(q^2 - 2p^2), 2a+b=mq2,2a + b = mq^2, and AI=mp(q22p2)q.AI = \frac{mp(q^2 - 2p^2)}{q}. The perimeter condition then loses mm entirely: 125(q22p2)(2p+q)=6q3.125\,(q^2 - 2p^2)(2p + q) = 6q^3. Since gcd(125,6)=1\gcd(125, 6) = 1 we get that qq is divisible by 5;5; and qq must be even, since for odd qq both factors on the left are odd while the right side is even. Writing q=10wq = 10w and simplifying, (50w2p2)(p+5w)=12w3.(50w^2 - p^2)(p + 5w) = 12w^3. Both factors on the left are coprime to ww (as gcd(p,q)=1\gcd(p, q) = 1). If a prime divided w,w, the right side would make it divide their product, a contradiction; hence w=1.w = 1. Now (50p2)(p+5)=12(50 - p^2)(p + 5) = 12 has the unique positive solution p=7.p = 7.

So a=49m,a = 49m, b=2m,b = 2m, and AI=7m5,AI = \frac{7m}{5}, which is an integer exactly when mm is divisible by 5.5. Taking m=5m = 5 gives ABC\triangle ABC with sides 245,245,10245, 245, 10 and AIC\triangle AIC with sides 7,7,10,7, 7, 10, whose perimeters 500500 and 2424 are indeed in ratio 125:6.125 : 6. The minimum possible ABAB is 245.245.

9.

SS 表示无穷和 19+199+1999+19999+\frac{1}{9} + \frac{1}{99} + \frac{1}{999} + \frac{1}{9999} + \cdots 的值。求小于或等于 10100S10^{100} S 的最大整数除以 10001000 所得的余数。

Let SS denote the value of the infinite sum 19+199+1999+19999+\frac{1}{9} + \frac{1}{99} + \frac{1}{999} + \frac{1}{9999} + \cdots Find the remainder when the greatest integer less than or equal to 10100S10^{100} S is divided by 1000.1000.

难度评级:2920
小提示:

把每个 110k1\frac{1}{10^k - 1} 展开为关于 10k10^{-k} 的等比级数,并收集相同的 1010 的幂:10n10^{-n} 的系数会数出 nn 的因数个数。

Expand each 110k1\frac{1}{10^k - 1} as a geometric series in 10k10^{-k} and collect equal powers of 10:10: the coefficient of 10n10^{-n} counts the divisors of n.n.

大提示:

乘以 1010010^{100} 后,只有 n=98,99,100n = 98, 99, 100 会影响最后三位,而剩下的尾项在 0011 之间。

After multiplying by 10100,10^{100}, only n=98,99,100n = 98, 99, 100 affect the last three digits, and the leftover tail is between 00 and 1.1.

解答:

每一项为 110k1=j110kj\frac{1}{10^k - 1} = \sum_{j \ge 1} 10^{-kj},所以对 kk 求和并收集指数 n=kjn = kj,得到 S=n1d(n)10nS = \sum_{n \ge 1} \frac{d(n)}{10^n} 其中 d(n)d(n)nn 的因数个数。因此 10100S=n=1100d(n)10100n10^{100} S = \sum_{n = 1}^{100} d(n)\,10^{100 - n} +T+ T,其中 T=m1d(100+m)10mT = \sum_{m \ge 1} d(100 + m)\,10^{-m}

d(101)=2d(101) = 2d(102)=8d(102) = 8d(103)=2d(103) = 2d(104)=8d(104) = 8,尾项开头为 0.20.2 +0.08+ 0.08 +0.002+ 0.002 +0.0008=0.2828+ 0.0008 = 0.2828,又因为 d(N)<2Nd(N) \lt 2\sqrt{N},余下各项贡献小于 m52100+m10m<0.001\sum_{m \ge 5} \frac{2\sqrt{100 + m}}{10^m} \lt 0.001。所以 0<T<10 \lt T \lt 1,且 10100S=n=1100d(n)10100n\left\lfloor 10^{100} S \right\rfloor = \sum_{n = 1}^{100} d(n)\,10^{100 - n}\text{。}

10001000 时,所有 n97n \le 97 的项都是 10001000 的倍数,只剩 d(98)100+d(99)10d(98) \cdot 100 + d(99) \cdot 10 +d(100)+ d(100)。因为 d(98)=6d(98) = 6d(99)=6d(99) = 6、且 d(100)=9d(100) = 9,余数为 600+60+9=669600 + 60 + 9 = 669

Each term is 110k1=j110kj,\frac{1}{10^k - 1} = \sum_{j \ge 1} 10^{-kj}, so summing over kk and collecting the exponent n=kj,n = kj, S=n1d(n)10n,S = \sum_{n \ge 1} \frac{d(n)}{10^n}, where d(n)d(n) is the number of divisors of n.n. Hence 10100S=n=1100d(n)10100n10^{100} S = \sum_{n = 1}^{100} d(n)\,10^{100 - n} +T+ T with T=m1d(100+m)10m.T = \sum_{m \ge 1} d(100 + m)\,10^{-m}.

From d(101)=2,d(101) = 2, d(102)=8,d(102) = 8, d(103)=2,d(103) = 2, d(104)=8,d(104) = 8, the tail starts 0.20.2 +0.08+ 0.08 +0.002+ 0.002 +0.0008=0.2828,+ 0.0008 = 0.2828, and since d(N)<2N,d(N) \lt 2\sqrt{N}, the remaining terms contribute less than m52100+m10m<0.001.\sum_{m \ge 5} \frac{2\sqrt{100 + m}}{10^m} \lt 0.001. So 0<T<10 \lt T \lt 1 and 10100S=n=1100d(n)10100n.\left\lfloor 10^{100} S \right\rfloor = \sum_{n = 1}^{100} d(n)\,10^{100 - n}.

Modulo 1000,1000, every term with n97n \le 97 is a multiple of 1000,1000, leaving d(98)100+d(99)10d(98) \cdot 100 + d(99) \cdot 10 +d(100).+ d(100). Since d(98)=6,d(98) = 6, d(99)=6,d(99) = 6, and d(100)=9,d(100) = 9, the remainder is 600+60+9=669.600 + 60 + 9 = 669.

10.

ABC\triangle ABC 中的点 DDBC\overline{BC} 上,且 AD\overline{AD} 平分 BAC\angle BAC。设 ω\omega 为经过 AA 且在 DD 处与线段 BC\overline{BC} 相切的圆。令 EAE \ne AFAF \ne A 分别为 ω\omega 与线段 AB\overline{AB}AC\overline{AC} 的交点。已知 AB=200AB = 200AC=225AC = 225,并且 AEAEAFAFBDBDCDCD 都是正整数。求 BCBC 的最大可能值。

Let ABC\triangle ABC be a triangle with DD on BC\overline{BC} such that AD\overline{AD} bisects BAC.\angle BAC. Let ω\omega be the circle that passes through AA and is tangent to segment BC\overline{BC} at D.D. Let EAE \ne A and FAF \ne A be the intersections of ω\omega with segments AB\overline{AB} and AC,\overline{AC}, respectively. Suppose that AB=200,AB = 200, AC=225,AC = 225, and all of AE,AE, AF,AF, BD,BD, and CDCD are positive integers. Find the greatest possible value of BC.BC.

难度评级:2840
小提示:

DD 处相切给出 BBCC 的幂:BD2=BEBABD^2 = BE \cdot BACD2=CFCACD^2 = CF \cdot CA;角平分线给出 BD:DC=8:9BD : DC = 8 : 9

Tangency at DD gives the powers of BB and C:C: BD2=BEBABD^2 = BE \cdot BA and CD2=CFCA;CD^2 = CF \cdot CA; the bisector gives BD:DC=8:9.BD : DC = 8 : 9.

大提示:

BD=8tBD = 8tCD=9tCD = 9t;那么 t=CDBDt = CD - BD 是整数,而 AEAEAFAF 为整数迫使 tt 能被 55 整除,同时 AE>0AE \gt 0 给出 tt 的上界。

Write BD=8t,BD = 8t, CD=9t;CD = 9t; then t=CDBDt = CD - BD is an integer, and integrality of AEAE and AFAF forces tt to be divisible by 5,5, while AE>0AE \gt 0 bounds t.t.

解答:

因为 ω\omegaDD 处与 BCBC 相切,由点 BB 的幂得 BD2=BEBABD^2 = BE \cdot BA,由点 CC 的幂得 CD2=CFCACD^2 = CF \cdot CA。角平分线定理给出 BDDC=ABAC=89\frac{BD}{DC} = \frac{AB}{AC} = \frac{8}{9},所以 BD=8tBD = 8tCD=9tCD = 9t,其中 t=CDBDt = CD - BD 是正整数。于是 BE=64t2200=8t225,CF=81t2225=9t225 \begin{aligned} &BE = \frac{64t^2}{200} = \frac{8t^2}{25}, \\ &CF = \frac{81t^2}{225} = \frac{9t^2}{25} \end{aligned} 所以 AE=2008t225AE = 200 - \frac{8t^2}{25}AF=2259t225AF = 225 - \frac{9t^2}{25}

为使 AEAEAFAF 都为整数,需要 t2t^2 能被 2525 整除,也就是 t=5st = 5s。此时 AE=2008s2>0AE = 200 - 8s^2 \gt 0 迫使 s4s \le 4,且 BC=17t=85sBC = 17t = 85s。当 s=4s = 4 时,BC=340BC = 340,并且 BD=160BD = 160CD=180CD = 180AE=72AE = 72AF=81AF = 81 都是正整数;边长 200,225,340200, 225, 340 也形成合法三角形,因为 200+225>340200 + 225 \gt 340

BCBC 的最大可能值为 340340

Since ω\omega is tangent to BCBC at D,D, the power of BB gives BD2=BEBABD^2 = BE \cdot BA and the power of CC gives CD2=CFCA.CD^2 = CF \cdot CA. The angle bisector gives BDDC=ABAC=89,\frac{BD}{DC} = \frac{AB}{AC} = \frac{8}{9}, so BD=8tBD = 8t and CD=9t,CD = 9t, where t=CDBDt = CD - BD is a positive integer. Then BE=64t2200=8t225,CF=81t2225=9t225, \begin{aligned} &BE = \frac{64t^2}{200} = \frac{8t^2}{25}, \\ &CF = \frac{81t^2}{225} = \frac{9t^2}{25}, \end{aligned} so AE=2008t225AE = 200 - \frac{8t^2}{25} and AF=2259t225.AF = 225 - \frac{9t^2}{25}.

For AEAE and AFAF to be integers we need t2t^2 to be divisible by 25,25, that is, t=5s.t = 5s. Then AE=2008s2>0AE = 200 - 8s^2 \gt 0 forces s4,s \le 4, and BC=17t=85s.BC = 17t = 85s. At s=4:s = 4: BC=340,BC = 340, with BD=160,BD = 160, CD=180,CD = 180, AE=72,AE = 72, AF=81AF = 81 all positive integers, and the sides 200,225,340200, 225, 340 form a valid triangle since 200+225>340.200 + 225 \gt 340.

The greatest possible value of BCBC is 340.340.

11.

求最大的整数 nn,使三次多项式 x3n6x2+(n11)x400x^3 - \frac{n}{6}x^2 + (n - 11)x - 400 的根为 α2\alpha^2β2\beta^2γ2\gamma^2,其中 α\alphaβ\betaγ\gamma 是复数,并且 α+β+γ\alpha + \beta + \gamma 恰好有七个不同的可能值。

Find the greatest integer nn such that the cubic polynomial x3n6x2+(n11)x400x^3 - \frac{n}{6}x^2 + (n - 11)x - 400 has roots α2,\alpha^2, β2,\beta^2, and γ2,\gamma^2, where α,\alpha, β,\beta, and γ\gamma are complex numbers, and there are exactly seven different possible values for α+β+γ.\alpha + \beta + \gamma.

难度评级:3060
小提示:

固定这三个根的平方根 s1,s2,s3s_1, s_2, s_3;可能的和为 ±s1±s2±s3\pm s_1 \pm s_2 \pm s_3,这八个表达式成对为 ±v\pm v

Fix square roots s1,s2,s3s_1, s_2, s_3 of the three roots; the possible sums are ±s1±s2±s3,\pm s_1 \pm s_2 \pm s_3, eight expressions that pair off as ±v.\pm v.

大提示:

恰好出现七个值时,有一个符号组合为 00;四个表达式 s1±s2±s3s_1 \pm s_2 \pm s_3 的乘积等于根的对称函数中的 4e2e124e_2 - e_1^2

Exactly seven values occur when one combination is 0;0; the product of the four expressions s1±s2±s3s_1 \pm s_2 \pm s_3 equals 4e2e124e_2 - e_1^2 in the roots’ symmetric functions.

解答:

三次多项式的根为 α2,β2,γ2\alpha^2, \beta^2, \gamma^2。固定它们的平方根 s1,s2,s3s_1, s_2, s_3;那么 α+β+γ\alpha + \beta + \gamma 在八个表达式 ±s1±s2±s3\pm s_1 \pm s_2 \pm s_3 中取值,这些表达式分成四对 ±v\pm v。一般情况下八个值都不同。由于三次多项式的常数项为 400-400,所选三个平方根的乘积非零,所以每个 sis_i 都非零。若两个非相反的选择发生重合 v(ε)=v(ε)v(\varepsilon) = v(\varepsilon'),它们必有两个符号不同,从而迫使某个 si=±sjs_i = \pm s_j,其中 iji \ne j,这会使八个值减少到至多六个。因此,恰好出现七个值,当且仅当某个选择满足 ±s1±s2±s3=0\pm s_1 \pm s_2 \pm s_3 = 0(其相反选择也给出同一个值 00),并且没有其他退化情形。

这个条件等价于下式为零: (s1+s2+s3)(s1+s2+s3)(s1s2+s3)(s1+s2s3)=2i<jrirjiri2=4e2e12 \begin{aligned} &(s_1 + s_2 + s_3)(-s_1 + s_2 + s_3) \\ &\quad {}\cdot (s_1 - s_2 + s_3)(s_1 + s_2 - s_3) \\ &= 2\sum_{i \lt j} r_i r_j - \sum_i r_i^2 \\ &= 4e_2 - e_1^2 \end{aligned} 其中 ri=si2r_i = s_i^2 是多项式的根,e1,e2e_1, e_2 是它们的初等对称函数。由韦达定理,e1=n6e_1 = \frac{n}{6}e2=n11e_2 = n - 11,所以 n236=4(n11)\frac{n^2}{36} = 4(n - 11),即 n2144n+1584=0n^2 - 144n + 1584 = 0,其根为 n=12n = 12n=132n = 132

n=132n = 132 时,三次多项式分解为 (x16)(x26x+25)(x - 16)(x^2 - 6x + 25)\text{,}其互异的根为 16163+4i3 + 4i,和 34i3 - 4i。可选择平方根 442+i2 + i,和 2i2 - i;此时 4(2+i)(2i)=04 - (2+i) - (2-i) = 0。八种符号选择使 00 出现两次,另外六个非零值为 ±8\pm 8±(4+2i)\pm(4+2i)±(42i)\pm(4-2i),所以恰好出现七个和。最大的这种整数是 132132

The roots of the cubic are α2,β2,γ2.\alpha^2, \beta^2, \gamma^2. Fix square roots s1,s2,s3s_1, s_2, s_3 of them; then α+β+γ\alpha + \beta + \gamma ranges over the eight expressions ±s1±s2±s3,\pm s_1 \pm s_2 \pm s_3, which come in four pairs ±v.\pm v. Generically all eight are distinct. The product of the three chosen square roots is nonzero because the cubic’s constant term is 400,-400, so every sis_i is nonzero. A coincidence v(ε)=v(ε)v(\varepsilon) = v(\varepsilon') between choices that are not opposite must differ in two signs and forces si=±sjs_i = \pm s_j for some ij,i \ne j, which collapses the eight values to at most six. So exactly seven values occur precisely when one choice satisfies ±s1±s2±s3=0\pm s_1 \pm s_2 \pm s_3 = 0 — its opposite is then the same value 00 — and no further degeneracies occur.

That condition is the vanishing of (s1+s2+s3)(s1+s2+s3)(s1s2+s3)(s1+s2s3)=2i<jrirjiri2=4e2e12, \begin{aligned} &(s_1 + s_2 + s_3)(-s_1 + s_2 + s_3) \\ &\quad {}\cdot (s_1 - s_2 + s_3)(s_1 + s_2 - s_3) \\ &= 2\sum_{i \lt j} r_i r_j - \sum_i r_i^2 \\ &= 4e_2 - e_1^2, \end{aligned} where ri=si2r_i = s_i^2 are the roots and e1,e2e_1, e_2 their elementary symmetric functions. By Vieta’s formulas e1=n6e_1 = \frac{n}{6} and e2=n11,e_2 = n - 11, so n236=4(n11),\frac{n^2}{36} = 4(n - 11), i.e. n2144n+1584=0,n^2 - 144n + 1584 = 0, with roots n=12n = 12 and n=132.n = 132.

For n=132n = 132 the cubic factors as (x16)(x26x+25),(x - 16)(x^2 - 6x + 25), with distinct roots 16,16, 3+4i,3 + 4i, and 34i.3 - 4i. Choose their square roots as 4,4, 2+i,2 + i, and 2i;2 - i; then 4(2+i)(2i)=0.4 - (2+i) - (2-i) = 0. The eight sign choices give 00 twice and the six distinct nonzero values ±8,\pm 8, ±(4+2i),\pm(4+2i), ±(42i),\pm(4-2i), so exactly seven sums occur. The greatest such integer is 132.132.

12.

有一个四面体,它有两个等腰三角形面,边长分别为 5105\sqrt{10}5105\sqrt{10}1010,还有两个等腰三角形面,边长分别为 5105\sqrt{10}5105\sqrt{10}1818。四面体的四个顶点都在一个以 SS 为球心的球面上,四个面都与一个以 RR 为球心的球相切。距离 RSRS 可写成 mn\frac{m}{n},其中 mmnn 是互质正整数。求 m+nm + n

Consider a tetrahedron with two isosceles triangle faces with side lengths 510,5\sqrt{10}, 510,5\sqrt{10}, and 1010 and two isosceles triangle faces with side lengths 510,5\sqrt{10}, 510,5\sqrt{10}, and 18.18. The four vertices of the tetrahedron lie on a sphere with center S,S, and the four faces of the tetrahedron are tangent to a sphere with center R.R. The distance RSRS can be written as mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

难度评级:2990
小提示:

边长 10101818 的边彼此相对,另外四条边都是 5105\sqrt{10}。把这两条相对边放在互相垂直的水平轴上;两个球心都在竖直对称轴上。

The edges are 1010 and 1818 opposite each other plus four of 510.5\sqrt{10}. Place those two edges on perpendicular horizontal axes; both centers lie on the vertical symmetry axis.

大提示:

这两条边在竖直方向相距 1212。在对称轴上分别求两个球心:SS 到各顶点等距,RR 到两个相邻面等距。

The two edges sit 1212 apart vertically. Find each center on the axis: equal distances to vertices for S,S, equal distances to two adjacent faces for R.R.

解答:

四个面的边长总多重集为 {510×8, 10×2, 18×2}\{5\sqrt{10} \times 8,\ 10 \times 2,\ 18 \times 2\},且每条边属于两个面,所以四面体 ABCDABCD 有相对边 AB=10AB = 10CD=18CD = 18,另外四条边都等于 5105\sqrt{10}。把各点放置为 A=(5,0,12),B=(5,0,12),C=(0,9,0),D=(0,9,0) \begin{aligned} &A = (-5, 0, 12), \\ &B = (5, 0, 12), \\ &C = (0, -9, 0), \\ &D = (0, 9, 0) \end{aligned} 这是相容的,因为 AC2=25+81+144AC^2 = 25 + 81 + 144 =250= 250 =(510)2= (5\sqrt{10})^2。该构型关于 xxx \to -xyyy \to -y 对称,所以两个球心都在 zz 轴上。

S=(0,0,s)S = (0, 0, s),令到 AA 与到 CC 的距离相等,得 25+(12s)2=81+s225 + (12 - s)^2 = 81 + s^2,所以 s=113s = \frac{11}{3}。对 R=(0,0,t)R = (0, 0, t),面 ABCABC 的平面为 4y3z+36=04y - 3z + 36 = 0,面 ACDACD 的平面为 12x+5z=012x + 5z = 0,等距条件给出 363t5=5t13    t=11716\frac{36 - 3t}{5} = \frac{5t}{13} \implies t = \frac{117}{16} 并且由两个镜面对称可知此点到四个面的距离都相等(距离为 4516\frac{45}{16})。

因此 RS=11716113RS = \frac{117}{16} - \frac{11}{3} =35117648=17548= \frac{351 - 176}{48} = \frac{175}{48},已经最简,所以 m+n=175+48=223m + n = 175 + 48 = 223

The four faces have side multiset {510×8, 10×2, 18×2},\{5\sqrt{10} \times 8,\ 10 \times 2,\ 18 \times 2\}, and each edge lies on two faces, so the tetrahedron ABCDABCD has AB=10AB = 10 and CD=18CD = 18 as opposite edges and the other four edges equal to 510.5\sqrt{10}. Place A=(5,0,12),B=(5,0,12),C=(0,9,0),D=(0,9,0), \begin{aligned} &A = (-5, 0, 12), \\ &B = (5, 0, 12), \\ &C = (0, -9, 0), \\ &D = (0, 9, 0), \end{aligned} which is consistent since AC2=25+81+144AC^2 = 25 + 81 + 144 =250= 250 =(510)2.= (5\sqrt{10})^2. The configuration is symmetric under xxx \to -x and under yy,y \to -y, so both centers lie on the zz-axis.

For S=(0,0,s),S = (0, 0, s), equating distances to AA and CC gives 25+(12s)2=81+s2,25 + (12 - s)^2 = 81 + s^2, so s=113.s = \frac{11}{3}. For R=(0,0,t),R = (0, 0, t), face ABCABC has plane 4y3z+36=04y - 3z + 36 = 0 and face ACDACD has plane 12x+5z=0,12x + 5z = 0, so equal distances require 363t5=5t13    t=11716,\frac{36 - 3t}{5} = \frac{5t}{13} \implies t = \frac{117}{16}, and by the two mirror symmetries this point is equidistant (at distance 4516\frac{45}{16}) from all four faces.

Therefore RS=11716113RS = \frac{117}{16} - \frac{11}{3} =35117648=17548,= \frac{351 - 176}{48} = \frac{175}{48}, which is in lowest terms, so m+n=175+48=223.m + n = 175 + 48 = 223.

13.

若两个有限整数集合 SSTT 满足以下条件,就称它们为表亲

SSTT 的元素个数相同,

SSTT 不相交,并且

• 可以把 SS 的元素与 TT 的元素配对,使每一对中的两个元素恰好相差 11

例如,{1,2,5}\{1, 2, 5\}{0,3,4}\{0, 3, 4\} 是表亲。已知集合 SS 恰好有 40404040 个表亲。求集合 SS 可能拥有的最少元素个数。

Call finite sets of integers SS and TT cousins if

SS and TT have the same number of elements,

SS and TT are disjoint, and

• the elements of SS can be paired with the elements of TT so that the elements in each pair differ by exactly 1.1.

For example, {1,2,5}\{1, 2, 5\} and {0,3,4}\{0, 3, 4\} are cousins. Suppose that the set SS has exactly 40404040 cousins. Find the least number of elements the set SS can have.

难度评级:3370
小提示:

每个元素都必须移动 ±1\pm 1SS 外的值,并且映射要一一对应。若某个元素的两个邻居都在 SS 中,它就无法移动,所以 SS 由长度为 1122 的连续整数块组成。

Each element must move by ±1\pm 1 to a value outside S,S, injectively. An element with both neighbors in SS is stuck, so SS consists of blocks of 11 or 22 consecutive integers.

大提示:

只隔一个缺失整数的块会连成链:一条含 kk 个单点块的链恰好有 k+1k + 1 个像,不同链的选择相乘。分解 40404040,使总大小最小。

Blocks separated by a single missing integer chain together: a chain of kk singleton blocks has exactly k+1k + 1 images, and separate chains multiply. Factor 40404040 to minimize total size.

解答:

一个表亲 TT 是某个映射的像,该映射把每个 xSx \in S 送到 x1x - 1x+1x + 1,落在 SS 外,并且是单射。若 x1,x,x+1Sx - 1, x, x + 1 \in S,那么 xx 无处可去,所以 SS 的每个最大连续块长度只能是 1122。一个双点块 {a,a+1}\{a, a+1\} 被迫映到 {a1,a+2}\{a - 1, a + 2\},而一个单点块 {a}\{a\} 可选择 a1a - 1a+1a + 1。只有当两个块之间恰好隔一个整数时,它们才可能争抢同一个值,因此把块分成若干链:链内相邻块之间的间隔恰好为一。在一条链中,唯一一致的模式是“前 ii 个块向左移,后面的块向右移”,因为某块向右而下一块向左会发生碰撞;双点块同时起到左移与右移的作用,迫使切换恰好在那里发生。因此一条含 kk 个单点块的链产生 k+1k + 1 个不同的像;含一个双点块的链恰好产生 11 个;含两个双点块的链产生 00 个。不同模式给出不同的集合 TT,而不同链的选择彼此独立,所以表亲个数等于所有纯单点链的 (ki+1)(k_i + 1) 的乘积。

需要 (ki+1)=4040=235101\prod (k_i + 1) = 4040 = 2^3 \cdot 5 \cdot 101,同时最小化元素个数 ki\sum k_i (含双点块的链只会浪费元素)。把一个合数因子 f=ghf = gh 替换成两个因子 g,h2g, h \ge 2 会严格降低代价,因为 (g1)+(h1)<gh1(g - 1) + (h - 1) \lt gh - 1。所以最优方案使用质因数分解: (f1)=1+1+1+4+100=107 \begin{aligned} &\sum (f - 1) \\ &= 1 + 1 + 1 + 4 + 100 \\ &= 107 \end{aligned} 可由五条分别含 1,1,1,4,1001, 1, 1, 4, 100 个单点块的链实现,也就是若干段相隔一个整数的单点块,彼此放得足够远。

最少元素个数为 107107

A cousin TT is the image of an injection sending each xSx \in S to x1x - 1 or x+1,x + 1, landing outside S.S. If x1,x,x+1Sx - 1, x, x + 1 \in S then xx has nowhere to go, so every maximal block of consecutive elements of SS has size 11 or 2.2. A double block {a,a+1}\{a, a+1\} is forced to map to {a1,a+2},\{a - 1, a + 2\}, while a singleton {a}\{a\} chooses a1a - 1 or a+1.a + 1. Two blocks can fight over a value only when exactly one integer separates them, so group blocks into chains: consecutive blocks with gaps of exactly one. Within a chain the only consistent patterns are “the first ii blocks shift left and the rest shift right,” since a block choosing right and its successor choosing left would collide; a double block acts as both left and right, forcing the switch to happen exactly at it. Hence a chain of kk singletons produces k+1k + 1 distinct images, a chain containing one double produces exactly 1,1, and a chain with two doubles produces 0.0. Distinct patterns give distinct sets T,T, and choices in different chains are independent, so the number of cousins is the product of (ki+1)(k_i + 1) over the all-singleton chains.

We need (ki+1)=4040=235101\prod (k_i + 1) = 4040 = 2^3 \cdot 5 \cdot 101 while minimizing the element count ki\sum k_i (chains with doubles only waste elements). Replacing a composite factor f=ghf = gh with the two factors g,h2g, h \ge 2 strictly lowers the cost, because (g1)+(h1)<gh1.(g - 1) + (h - 1) \lt gh - 1. So the optimum uses the prime factorization: (f1)=1+1+1+4+100=107, \begin{aligned} &\sum (f - 1) \\ &= 1 + 1 + 1 + 4 + 100 \\ &= 107, \end{aligned} realized by five chains of 1,1,1,4,1001, 1, 1, 4, 100 singletons — runs of every-other integer — placed far apart.

The least possible number of elements is 107.107.

14.

对整数 aabb,若 aa 为奇数且 bb 为偶数,定义 ab=aba \circ b = a - b;否则定义 ab=a+ba \circ b = a + b。求正整数序列 a1a_1a2a_2a3a_3\ldotsana_n 的个数,使得 a1+a2+a3++an=12a_1 + a_2 + a_3 + \cdots + a_n = 12a1a2a3an=0a_1 \circ a_2 \circ a_3 \circ \cdots \circ a_n = 0 其中运算从左到右进行;也就是说,a1a2a3a_1 \circ a_2 \circ a_3 表示 (a1a2)a3(a_1 \circ a_2) \circ a_3

For integers aa and b,b, let ab=aba \circ b = a - b if aa is odd and bb is even, and ab=a+ba \circ b = a + b otherwise. Find the number of sequences a1,a_1, a2,a_2, a3,a_3, ,\ldots, ana_n of positive integers such that a1+a2+a3++an=12a_1 + a_2 + a_3 + \cdots + a_n = 12 and a1a2a3an=0,a_1 \circ a_2 \circ a_3 \circ \cdots \circ a_n = 0, where the operations are performed from left to right; that is, a1a2a3a_1 \circ a_2 \circ a_3 means (a1a2)a3.(a_1 \circ a_2) \circ a_3.

难度评级:3370
小提示:

运行值始终与运行和奇偶性相同,所以一项被减去当且仅当它是偶数,且它之前各项之和为奇数。

The running value always has the same parity as the running sum, so a term is subtracted exactly when it is even and the sum of the terms before it is odd.

大提示:

被减去的项总和必须为 66。前缀和奇偶性只在奇数项处改变,所以按奇数项把序列分段(奇数项个数为 224466),逐案计数。

The subtracted terms must total 6.6. Prefix-sum parity flips only at odd terms, so split the sequence at its odd terms (there are 2,2, 4,4, or 66) and count each case.

解答:

因为 aba+b(mod2)a - b \equiv a + b \pmod 2,前 kk 步后的运行值与 a1++aka_1 + \cdots + a_k 奇偶性相同。所以 aka_k 被减去,当且仅当 aka_k 为偶数且前缀和 a1++ak1a_1 + \cdots + a_{k-1} 为奇数;最终值等于 1212 减去被减去项总和的两倍。我们要数的是 1212 的组成,其中位于奇数前缀和位置的偶数项总和恰好为 66。前缀奇偶性恰好在奇数项处翻转,因此奇数项共有 2m2m 个(总和为偶数),而被减去的项正是第 (2i1)(2i-1) 个奇数项与第 2i2i 个奇数项之间的偶数项;这些 mm 个“奇区间”中的偶数项总和为 66,其他 m+1m + 1 个区间中的偶数项总和为 6A6 - A,其中 AA 是所有奇数项之和。

fr(t)f_r(t) 为用 rr 个有序区间填入若干偶数项,使总和为 2t2t 的方法数。一个区间就是把 2t2t 写成偶数部分的组成,也就是 tt 的组成:当 t1t \ge 1f1(t)=2t1f_1(t) = 2^{t-1},且 f1(0)=1f_1(0) = 1;卷积给出下面需要的值:fr(0)=1f_r(0) = 1fr(1)=rf_r(1) = rf2(2)=5f_2(2) = 5,以及 f1(3),f2(3),f3(3)=4,12,25f_1(3), f_2(3), f_3(3) = 4, 12, 25。把 AA 写成 2m2m 个奇数部分的组成数为 (A2m2+2m12m1)\binom{\frac{A - 2m}{2} + 2m - 1}{2m - 1}

mmAA 分类:当 m=1m = 1 时,A=2,4,6A = 2, 4, 6 分别给出 14f2(2)=201 \cdot 4 \cdot f_2(2) = 2024f2(1)=162 \cdot 4 \cdot f_2(1) = 16、以及 341=123 \cdot 4 \cdot 1 = 12。当 m=2m = 2 时,A=4,6A = 4, 6 给出 112f3(1)=361 \cdot 12 \cdot f_3(1) = 364121=484 \cdot 12 \cdot 1 = 48。当 m=3m = 3 时,A=6A = 6 给出 1251=251 \cdot 25 \cdot 1 = 25。总数为 20+16+12+3620 + 16 + 12 + 36 +48+25=157+ 48 + 25 = 157

Since aba+b(mod2),a - b \equiv a + b \pmod 2, the running value after kk steps has the same parity as a1++ak.a_1 + \cdots + a_k. So term aka_k is subtracted exactly when aka_k is even and the prefix sum a1++ak1a_1 + \cdots + a_{k-1} is odd, and the final value is 1212 minus twice the total of the subtracted terms. We must count compositions of 1212 in which the even terms sitting where the prefix sum is odd total exactly 6.6. The prefix parity flips exactly at odd terms, so the odd terms come in 2m2m (the total is even), and the subtracted terms are precisely the even terms lying between the (2i1)(2i-1)st and 2i2ith odd terms; these mm “odd stretches” must hold even terms totaling 6,6, while the other m+1m + 1 stretches hold even terms totaling 6A,6 - A, where AA is the sum of the odd terms.

Let fr(t)f_r(t) be the number of ways to fill rr ordered stretches with sequences of even terms totaling 2t.2t. One stretch is a composition of 2t2t into even parts, i.e. of t:t: f1(t)=2t1f_1(t) = 2^{t-1} for t1t \ge 1 and f1(0)=1;f_1(0) = 1; convolving gives the values needed below: fr(0)=1,f_r(0) = 1, fr(1)=r,f_r(1) = r, f2(2)=5,f_2(2) = 5, and f1(3),f2(3),f3(3)=4,12,25.f_1(3), f_2(3), f_3(3) = 4, 12, 25. Compositions of AA into 2m2m odd parts number (A2m2+2m12m1).\binom{\frac{A - 2m}{2} + 2m - 1}{2m - 1}.

Casework on mm and A:A: for m=1:m = 1: A=2,4,6A = 2, 4, 6 give 14f2(2)=20,1 \cdot 4 \cdot f_2(2) = 20, 24f2(1)=16,2 \cdot 4 \cdot f_2(1) = 16, and 341=12.3 \cdot 4 \cdot 1 = 12. For m=2:m = 2: A=4,6A = 4, 6 give 112f3(1)=361 \cdot 12 \cdot f_3(1) = 36 and 4121=48.4 \cdot 12 \cdot 1 = 48. For m=3:m = 3: A=6A = 6 gives 1251=25.1 \cdot 25 \cdot 1 = 25. The total is 20+16+12+3620 + 16 + 12 + 36 +48+25=157.+ 48 + 25 = 157.

15.

求满足下列性质的有序 77 元组 (a1,a2,a3,,a7)(a_1, a_2, a_3, \ldots, a_7) 的个数:

• 对所有 kk 都有 ak{1,2,3}a_k \in \{1, 2, 3\}

a1+a2+a3+a4a_1 + a_2 + a_3 + a_4 +a5+a6+a7+ a_5 + a_6 + a_733 的倍数。

a1a2a4a_1a_2a_4 +a2a3a5+ a_2a_3a_5 +a3a4a6+ a_3a_4a_6 +a4a5a7+ a_4a_5a_7 +a5a6a1+ a_5a_6a_1 +a6a7a2+ a_6a_7a_2 +a7a1a3+ a_7a_1a_333 的倍数。

Find the number of ordered 77-tuples (a1,a2,a3,,a7)(a_1, a_2, a_3, \ldots, a_7) having the following properties:

ak{1,2,3}a_k \in \{1, 2, 3\} for all k.k.

a1+a2+a3+a4a_1 + a_2 + a_3 + a_4 +a5+a6+a7+ a_5 + a_6 + a_7 is a multiple of 3.3.

a1a2a4a_1a_2a_4 +a2a3a5+ a_2a_3a_5 +a3a4a6+ a_3a_4a_6 +a4a5a7+ a_4a_5a_7 +a5a6a1+ a_5a_6a_1 +a6a7a2+ a_6a_7a_2 +a7a1a3+ a_7a_1a_3 is a multiple of 3.3.

难度评级:3500
小提示:

在模 33 下工作,其中 303 \equiv 0212 \equiv -1。七个指标三元组 {i,i+1,i+3}\{i, i+1, i+3\} 构成一个 Fano 平面:每一对位置恰好在一个三元组中。

Work modulo 33 with 303 \equiv 0 and 21.2 \equiv -1. The seven index triples {i,i+1,i+3}\{i, i+1, i+3\} form a Fano plane: every pair of positions lies in exactly one triple.

大提示:

按取值为 33 的位置集合 ZZ 分类:一个乘积只有在它的三元组避开 ZZ 时才保留下来,且每个保留下来的乘积按其三元组中 22 的个数贡献 ±1\pm 1

Classify by the set ZZ of positions holding a 3:3: a product survives only if its triple misses Z,Z, and each surviving product is ±1\pm 1 according to how many 22’s its triple holds.

解答:

在模 33 下工作:取值 3300,取值 1,21, 2±1\pm 1。因为 {0,1,3}\{0, 1, 3\} 的差覆盖模 77 的每个非零剩余类恰好一次,七个三元组 {i,i+1,i+3}\{i, i+1, i+3\} 是位置集合上的 Fano 平面的直线:每一对位置在恰好一条直线上,任意两条直线恰好交于一点。设 ZZ 为取值为 33 的位置集合,k=Zk = |Z|。一个乘积项保留下来当且仅当它对应的直线避开 ZZ。若 tLt_L 是该直线上取值为 22 的项数,它的贡献就是 (1)tL(-1)^{t_L};线性条件则限制其余 7k7 - k±1\pm 1 的和模 33 等于 00

kk 分类。k=7k = 7:全为 33 的元组可行,得 11 个。k=6k = 6:单个 ±1\pm 1 不可能和为 00,没有解。k=5k = 5:没有直线保留下来;两个非零项必须一个为 11、一个为 22,有 (72)2=42\binom{7}{2} \cdot 2 = 42 个。k=4k = 4:三个 ±1\pm 1 和为 00 只有全相同,且三个非零位置不能成一条直线,否则其乘积为 ±1\pm 1,所以有 (357)2=56(35 - 7) \cdot 2 = 56 个。k=3k = 3:四个 ±1\pm 1 必须二二分开;若 ZZ 不是一条直线,则恰有一条直线避开它(破坏乘积和),而若 ZZ 是一条直线,则没有直线避开它,得到 7(42)=427 \cdot \binom{4}{2} = 42 个。k=2k = 2:五个 ±1\pm 1 必须四个同号、一个异号;恰有两条直线避开 ZZ,它们交于点 pp 并覆盖五个位置,其乘积相消当且仅当唯一的少数值不在 pp 上,所以有 (72)24=168\binom{7}{2} \cdot 2 \cdot 4 = 168 个。k=1k = 1:六个 ±1\pm 1 和为 00 时要么全相同,要么正负各三个;避开 ZZ 的四条直线两两交于六个非零位置,且四个直线乘积之积为 +1+1,因此需要恰好两条负直线。全相同时有 0044 条负直线;若有三个 22,把位置看作这四条直线形成的 K4K_4 的边,一条直线为负当且仅当它在所选 33 条边中度数为奇;在 (63)=20\binom{6}{3} = 20 个三边子集中,恰有 1212 条三边路径给出两个奇度数,所以有 712=847 \cdot 12 = 84 个。k=0k = 0:七个 ±1\pm 1 需要两个或五个 22,它们分别产生 4433 条负直线,但 72t0(mod3)7 - 2t \equiv 0 \pmod 3 需要 t2(mod3)t \equiv 2 \pmod 3,没有解。

总数为 1+42+561 + 42 + 56 +42+168+84=393+ 42 + 168 + 84 = 393

Work modulo 3:3: entries 33 are 00 and entries 1,21, 2 are ±1.\pm 1. Because the differences of {0,1,3}\{0, 1, 3\} hit every nonzero residue mod 77 exactly once, the seven triples {i,i+1,i+3}\{i, i+1, i+3\} are the lines of a Fano plane on the positions: every pair of positions lies on exactly one line, and any two lines meet in exactly one point. Let ZZ be the set of positions holding a 33 and k=Z.k = |Z|. A product term survives exactly when its line avoids Z.Z. If tLt_L is the number of entries equal to 22 on that line, its contribution is (1)tL,(-1)^{t_L}, and the linear condition constrains the 7k7 - k values ±1\pm 1 to sum to 00 mod 3.3.

Casework on k.k. k=7:k = 7: the all-33s tuple works: 1.1. k=6:k = 6: a single ±1\pm 1 can’t sum to 0:0: none. k=5:k = 5: no line survives; the two nonzero entries must be a 11 and a 2:2: (72)2=42.\binom{7}{2} \cdot 2 = 42. k=4:k = 4: three ±1\pm 1s sum to 00 only if all equal, and the three nonzero positions must not form a line, else its product is ±1:\pm 1: (357)2=56.(35 - 7) \cdot 2 = 56. k=3:k = 3: four ±1\pm 1s must split two and two; exactly one line avoids a non-line ZZ (spoiling the sum), while a line ZZ is avoided by no line: 7(42)=42.7 \cdot \binom{4}{2} = 42. k=2:k = 2: five ±1\pm 1s must go four and one; exactly two lines avoid Z,Z, meeting at a point pp and covering the five positions, and their products cancel exactly when the lone minority value avoids p:p: (72)24=168.\binom{7}{2} \cdot 2 \cdot 4 = 168. k=1:k = 1: six ±1\pm 1s sum to 00 if all equal or three of each; the four lines avoiding ZZ pairwise meet in the six nonzero positions, and since the product of all four line-products is +1,+1, we need exactly two negative lines. All-equal gives 00 or 44 negative lines; for three 22’s, viewing positions as edges of K4K_4 on the four lines, a line is negative exactly when it has odd degree in the chosen 33-edge set, and exactly the 1212 three-edge paths (of the (63)=20\binom{6}{3} = 20 subsets) give two odd degrees: 712=84.7 \cdot 12 = 84. k=0:k = 0: seven ±1\pm 1s need two or five 22’s, which make 44 or 33 lines negative respectively, but 72t0(mod3)7 - 2t \equiv 0 \pmod 3 needs t2(mod3):t \equiv 2 \pmod 3: none.

The total is 1+42+561 + 42 + 56 +42+168+84=393.+ 42 + 168 + 84 = 393.