2026 AIME I 真题
计时
3:00:00
1.
Patrick 从学校沿一条笔直的路以恒定速度步行去公园。Patrick 出发一小时后,Tanya 从学校沿同一条笔直的路以恒定速度跑向公园,速度比 Patrick 步行快每小时 英里。Tanya 出发一小时后,José 从学校沿同一条笔直的路以恒定速度骑车去公园,速度比 Tanya 跑步快每小时 英里。三人同时到达公园。学校到公园的距离是 英里,其中 和 为互质正整数。求 。
Patrick started walking at a constant speed along a straight road from his school to the park. One hour after Patrick left, Tanya started running at a constant speed of miles per hour faster than Patrick walked, following the same straight road from the school to the park. One hour after Tanya left, José started bicycling at a constant speed of miles per hour faster than Tanya ran, following the same straight road from the school to the park. All three people arrived at the park at the same time. The distance from the school to the park is miles, where and are relatively prime positive integers. Find
小提示:
设 Patrick 的速度为 ,行程时间为 小时;三人走过的距离相同
Let Patrick’s speed be and his travel time hours; all three cover the same distance
大提示:
在 和 中, 项会相消,留下关于 和 的两个一次方程
In and the terms cancel, leaving two linear equations in and
解答:
设 Patrick 的速度为每小时 英里,行程时间为 小时。于是 Tanya 用 小时以速度 行进,José 用 小时以速度 行进(这比 Tanya 的速度多 )。因为三人走过同一段距离,
展开第一个等式得 ,所以 。展开第二个等式得 ,所以 。代入可得 ,因此 ,且 。
距离为 ,已经是最简分数,所以 。
Let be Patrick’s speed in miles per hour and his travel time in hours. Then Tanya travels for hours at speed and José travels for hours at speed (which is more than Tanya’s speed). Since all three cover the same distance,
Expanding the first equality gives so Expanding the second gives so Substituting, hence and
The distance is which is in lowest terms, so
2.
求 进制表示中不含数字零、各位数字和为 的正整数回文数的个数。例如, 满足这些性质。回顾一下,回文数是从左到右读和从右到左读表示都相同的数。
Find the number of positive integer palindromes written in base with no zero digits, and whose digits add up to For example, has these properties. Recall that a palindrome is a number whose representation reads the same from left to right as from right to left.
小提示:
数字和 为奇数,所以回文数有奇数位,且中间数字为奇数
A digit sum of is odd, so the palindrome has an odd number of digits and an odd middle digit
大提示:
若中间数字为 ,则它左侧的数字组成一个非零数字串,数字和为 ;计数组合
If the middle digit is the digits to its left form a string of nonzero digits with sum count compositions
解答:
偶数位回文数的每个数字都会成镜像对出现,所以数字和为偶数。由于 是奇数,回文数必须有奇数位;若 是中间数字,则剩余数字和 平均分到两侧,所以 为奇数。一位回文数需要 ,这不可能。
这个回文数由中间数字 和中心左侧的数字块决定:这是一个非空的非零数字串,数字和为 。当 时,分别有 。由于 ,这样的数字串中每个数字自动不超过 ,所以字符串个数就是 的正整数拆分成有序部分的个数,即 (在 个单位间隙中,每个间隙选择断开或不断开)。
总数为
A palindrome with an even number of digits has each digit appearing in a mirrored pair, so its digit sum is even. Since is odd, the palindrome has an odd number of digits, and if is the middle digit, the rest of the digit sum is split evenly between the two halves, so is odd. A one-digit palindrome would need which is impossible.
The palindrome is determined by its middle digit and the block of digits to the left of center: a nonempty string of nonzero digits with sum For we get Since every digit of such a string is automatically at most so the number of strings is the number of compositions of which is (each of the gaps between units is either a break or not).
The total is
3.
一个半径为 的半球放在一个半径为 的水平圆盘上,且半球与圆盘同心。令 为圆盘中所有点 组成的区域,使得一个半径为 的球可以放在圆盘上并在点 处接触圆盘,同时完全位于半球内部。 的面积除以圆盘面积为 ,其中 和 为互质正整数。求 。
A hemisphere with radius sits on top of a horizontal circular disk with radius and the hemisphere and disk have the same center. Let be the region of points in the disk such that a sphere of radius can be placed on top of the disk at and lie completely inside the hemisphere. The area of divided by the area of the disk is where and are relatively prime positive integers. Find
小提示:
小球半径为 ,其球心位于 正上方;它正好能放入半球内,当且仅当球心到公共球心的距离不超过
The small sphere’s center sits directly above and the sphere fits inside the hemisphere exactly when its center is within of the common center
大提示:
若 是圆盘中心到 的距离,则条件是 ,而 可用平方差分解
With the distance from the center of the disk to the condition is and factors as a difference of squares
解答:
一个半径为 、球心位于 正上方 处的球,会在 处接触圆盘。它完全位于半径为 的半球内,当且仅当球心到公共中心的距离不超过 。记公共中心为 。若 是 到 的距离,则小球球心到中心的距离为 ,也就是它到 的距离,所以条件为 。
由平方差, 。因此 是半径为 的圆盘,面积比为所以 。
A sphere of radius resting on the disk at has its center directly above It lies inside the hemisphere of radius exactly when its center is within of the common center If is the distance from to the center of the sphere is at distance from so the condition is
By difference of squares, Thus is a disk of radius and the ratio of areas is Therefore
4.
求不超过 的整数中,有多少个可以写成 ,其中 和 是两个不同的正整数。
Find the number of integers less than or equal to that are equal to for some choice of distinct positive integers and
答案:70
小提示:
两边加 :
Add to both sides:
大提示:
因此 可行当且仅当 是两个不同因数的乘积,且每个因数至少为 ;从 到 中去掉质数和质数的平方
So works exactly when is a product of two distinct factors, each at least remove the primes and the squares of primes from through
解答:
因为 ,整数 可表示当且仅当 ,其中 和 是不同整数且都至少为 。所以我们统计 在集合 中且能如此分解的情形。
质数不能分解成两个都至少为 的因数;质数平方 只能这样分解为 ,但这不允许。其余每个合数 都可行:若 是它的最小质因数,则 ,且有 ,因为 。在 中有 个质数,其中 个小于 ,另一个是 ;另有 个质数平方,即 、、、。
个数为 。
Since an integer is representable exactly when for distinct integers and that are each at least So we count integers in that admit such a factorization.
A prime has no factorization into two factors that are both at least and the square of a prime factors that way only as which is not allowed. Every other composite works: if is its smallest prime factor, then with since In there are primes (the primes below together with ) and prime squares ( ).
The count is
5.
平面中有点 和 ,且 。将点 在平面中逆时针旋转一个锐角 ,旋转中心为点 ,得到点 。然后将点 在平面中顺时针旋转角 ,旋转中心为点 ,得到点 。已知 。 可写成 ,其中 和 为互质正整数。求 。
A plane contains points and with Point is rotated in the plane counterclockwise through an acute angle around point to point Then is rotated in the plane clockwise through angle around point to point Suppose The value of can be written as where and are relatively prime positive integers. Find
小提示:
在复平面中令 、;把 绕 逆时针旋转 得
Put and in the complex plane; rotating about through counterclockwise gives
大提示:
计算得 ,所以
Compute so
解答:
在复平面中令 、。把 绕 逆时针旋转角 得 。因此 ,而把 顺时针旋转 ,旋转中心为 ,得到
于是令它等于 ,得到 ,所以 (确为正数,与 为锐角一致)。因此 。
Work in the complex plane with and Rotating about through angle counterclockwise gives So and rotating clockwise through about gives
Then Setting this equal to gives so (indeed positive, consistent with acute). Thus
6.
满足方程的所有正实数 的乘积是一个整数 。求 的正整数因数个数。
The product of all positive real numbers satisfying the equation is an integer Find the number of positive integer divisors of
小提示:
令 ,并对两边取 ,得到关于 的二次方程
Set and take of both sides to get a quadratic in
大提示:
两个根满足 ,所以解 的乘积就是 的这个次方;分解
The two roots satisfy so the product of the solutions is raised to that power; factor
解答:
令 。对两边取 ,原方程也就是 ,于是即判别式 为正,所以有两个实根 ,每个都给出一个有效正解 。
由 Vieta 公式,,所以这些解的乘积为 。由于 ,且 为质数, 有 个正因数。
Let Taking of both sides of gives that is The discriminant is positive, so there are two real roots each giving a valid positive solution
By Vieta’s formulas so the product of the solutions is Since and is prime, has positive divisors.
7.
求满射函数 的个数,其中该函数从集合 映到 ,并且对每个 都有
Find the number of functions mapping the set onto such that for every
小提示:
有限集合到自身的满射是一个排列,而条件表示它的六次方是恒等映射
An onto map from a finite set to itself is a permutation, and the condition says its sixth power is the identity
大提示:
等价地,每个循环长度都整除 ,所以从 中减去含有 -循环或 -循环的排列
Equivalently every cycle length divides so subtract from the permutations that contain a -cycle or a -cycle
解答:
有限集合到自身的满射一定是双射,所以 是六个元素的排列,条件表示 是恒等映射。一个排列满足 ,当且仅当其循环分解中 每个循环长度都整除 。在可能的长度 到 中,只有 和 不整除 。
要排除含有 -循环或 -循环的排列,并从 中减去这些排列。循环类型 给出 ,类型 给出 ,类型 给出 ,共排除 个排列。
所求个数为 。
A function from a finite set onto itself is a bijection, so is a permutation of six elements, and the condition says is the identity. A permutation satisfies exactly when every cycle in its cycle decomposition has length dividing Among the possible lengths through only and fail to divide
We subtract the permutations containing a -cycle or a -cycle from Cycle type gives type gives and type gives for excluded permutations.
The count is
8.
令 为 的正整数因数中余数是 (除以 时)的因数个数。求 除以 的余数。
Let be the number of positive integer divisors of that leave a remainder of upon division by Find the remainder when is divided by
小提示:
分解 ,再模 化简:这些质数变为 、、、,且
Factor and reduce mod the primes become with
大提示:
只有 、、 的指数奇偶性有影响,而 ,所以恰有两种奇偶模式给出余数
Only the parities of the exponents of matter, and so exactly two parity patterns give remainder
解答:
因为 , 的因数为 ,其中每个指数都在 到 之间。模 时有 ,且 (因为 ),所以一个因数的余数为 ,其中 是 的奇偶性。
四个可能值 组成群 ,运算为模 乘法,其中 。检查八种奇偶模式可知,余数为 当且仅当 或 。每个奇偶条件有 种选择,而相应指数共有 种可能; 可任意选择,有 种。
因此 ,模 的余数为 。
Since the divisors of are with each exponent between and Modulo we have and (as ), so the residue of a divisor is where are the parities of
The four possible values multiply like the group mod in which Checking the eight parity patterns, the residue is exactly when or Each parity condition is satisfied by of the choices of that exponent, while is free with choices.
Therefore and the remainder mod is
9.
Joanne 有一个空白的公平六面骰子,以及六张贴纸,每张贴纸分别标有从 到 的一个不同整数。Joanne 掷骰子,然后把标有 的贴纸贴在朝上的面上。她再掷一次骰子,把标有 的贴纸贴在朝上的面上,并继续这个过程,按顺序贴完其余贴纸。如果骰子朝上的面已经有贴纸,则新贴纸盖在旧贴纸上。设 为如下条件概率:在所有偶数编号贴纸最终都可见的条件下,过程结束时恰好有一个面仍为空白。若 可写成 ,其中 和 为互质正整数,求 。
Joanne has a blank fair six-sided die and six stickers each displaying a different integer from to Joanne rolls the die and then places the sticker labeled on the top face of the die. She then rolls the die again, places the sticker labeled on the top face, and continues this process to place the rest of the stickers in order. If the die ever lands with a sticker already on its top face, the new sticker is placed to cover the old sticker. Let be the conditional probability that at the end of the process exactly one face has been left blank, given that all the even-numbered stickers are visible on faces of the die. Then can be written as where and are relatively prime positive integers. Find
小提示:
追踪六次掷出的朝上面 ,它们独立且均匀;贴纸 最终可见当且仅当面 之后再也没有被掷到
Track the six rolled top faces independent and uniform; sticker stays visible exactly when face never comes up afterward
大提示:
恰好一个空白面意味着恰有一次重复 ;统计哪些配对 能让贴纸 、、 保持可见
Exactly one blank face means exactly one repeat count which pairs keep stickers visible
解答:
令 为每次掷出的朝上面,它们在六个面上独立均匀。贴纸 被贴在面 上,并最终可见当且仅当 对所有 都成立(贴纸 总是可见)。所以条件事件为 且 。按 的顺序计数,得到 个序列,全集为 个序列。
一个面为空白当且仅当它从未在 中出现,所以恰好一个空白面意味着序列恰好取到 个不同值,即恰有一次重合 ,其中 ,其余值都不同。该重合不能违反条件:配对 以及 、 被禁止,剩下 个配对 、、、、、、、、。对每个允许的配对,五个不同值可用 种方式分配;由于唯一重复值位于允许配对中,所有条件自动满足。因此有 个序列。
所以 ,且 。
Let be the top faces rolled, independent and uniform over the six faces. Sticker goes on face and ends up visible exactly when for all (sticker is always visible). So the conditioning event is and Counting choices in the order gives sequences out of
A face is blank exactly when it never appears among so exactly one blank face means the sequence takes exactly distinct values, i.e. there is exactly one coincidence with and all other values distinct. The coincidence must not violate the conditioning: pairs and are forbidden, leaving the pairs For each allowed pair, the five distinct values can be assigned in ways, and every constraint holds automatically because the only repeated value occupies an allowed pair. That gives sequences.
Therefore and
10.
设 的边长为 、、。三角形 是将 绕其外心旋转得到的,使得 垂直于 ,且 和 不在直线 的同侧。求最接近六边形 面积的整数。
Let have side lengths and Triangle is obtained by rotating about its circumcenter so that is perpendicular to with and not on the same side of line Find the integer closest to the area of hexagon
答案:156
小提示:
取 、、;外心为 ,旋转会使六个顶点都留在外接圆上
Use the circumcenter is and the rotation keeps all six vertices on the circumcircle
大提示:
把方向 ,也就是 的方向,旋转到竖直方向;异侧条件选出 、。使用鞋带公式
Rotate direction of to vertical; the side condition selects Use the shoelace formula
解答:
取 、、。外心在 上,令它到 和到 的距离相等,得到 。 的方向为 ,与 平行。旋转角 后使 竖直,当且仅当它把 送到 ,所以 或 。用标量叉积检查有向直线 的两侧。对第一种旋转,对第二种旋转,这两个量分别为 和 。因此 和 只在 、 时位于直线两侧。
用这个旋转,,三个旋转后的顶点为 例如, 旋转为 ,得到 。
六边形 以这些顶点为顺序时是简单六边形,所以对 、、、、、 使用鞋带公式,得到面积 。最接近的整数为 。
Place The circumcenter lies on and equating distances to and gives The direction of is parallel to A rotation through makes vertical exactly when it sends to so or Use the scalar cross product to test sides of the directed line For the first rotation, while for the second rotation these quantities are and respectively. Thus and are on opposite sides only for
With this rotation, gives For example, rotates to giving
The hexagon is simple with these vertices in order, so the shoelace formula on gives area The closest integer is
11.
将整数 到 以某种顺序填入一个 方格中,每个格子填一个数。令 为第 行第 列格子中的数,令 为相邻格子之间差的绝对值之和,也就是说,求 的最大可能值除以 的余数。
The integers from to are placed in some order into an grid of cells with one number in each cell. Let be the number placed in the cell in row and column and let be the sum of the absolute differences between adjacent cells. That is, Find the remainder when the maximum possible value of is divided by
小提示:
把每条边的贡献归到端点上:,其中 是小于 的邻居数 减去大于它的邻居数,所以
Attribute each edge to its endpoints: where counts neighbors smaller than minus neighbors larger, so
大提示:
因为 ,也有 。把较大的偏差配给度数为 的格子,并检查棋盘式放置可达到这个上界。
Since also Match the large deviations with the degree- cells, and check that a checkerboard placement attains the bound.
解答:
将方格看作图,其 条边连接相邻格子。每条边都把较大端点的值正向贡献一次、较小端点的值负向贡献一次,所以 ,其中 是格子 中的数, 是 的邻居中数值更小的个数减去数值更大的个数。于是 。度数为 的内部格子有 个,度数为 的边上非角格子有 个,度数为 的角格子有 个,且 ,因为每条边贡献 和 。
由于 ,由重排不等式,上式在如下配对时最大:把 个离 最远的数(即 至 和 至 ,偏差总和为 )配给内部格子;把接下来的 个数( 至 和 至 ,总和为 )配给边上格子;把 至 (总和为 )配给角。因此 。
等号要求每个填入至多 的格子都小于它的所有邻居,而每个填入至少 的格子都大于 它的所有邻居,棋盘式放置可以做到:把 至 放在黑格中( 至 放内部黑格、 至 放边上黑格、 至 放黑色角),把 至 放在白格中 ( 至 放角、 至 放边上、 至 放内部)。这样每对相邻格子 都是白格大于黑格,所以 ,答案为 。
View the grid as a graph whose edges join adjacent cells. Each edge contributes its larger endpoint value positively and its smaller one negatively, so where is the entry in cell and is the number of neighbors of with smaller entries minus the number with larger entries. Then which is for the interior cells, for the edge cells, and for the corners, and since each edge contributes and
Because By the rearrangement inequality this is maximized by pairing the values farthest from (namely – and – whose deviations total ) with the interior cells, the next values (– and – totaling ) with the edge cells, and – (totaling ) with the corners. Hence
Equality requires every cell holding a value at most to be smaller than all its neighbors and every value at least to be larger, which a checkerboard achieves: put – on the black cells (– on interior blacks, – on edge blacks, – on black corners) and – on the white cells (– on corners, – on edges, – in the interior). Every neighbor pair then compares white over black, so and the answer is
12.
三角形 位于平面 内,且 、、。令 为 的重心关于 反射后所得的点。四个球都位于 的同一侧,半径分别为 、、 和 ,并与 相切,切点分别为 、、 和 。这四个球还都与第二个平面 相切,并全部位于 的同一侧。 的值可写成 ,其中 和 为互质正整数。求 。
Triangle lies in plane with and Let be the reflection across of the centroid of Four spheres, all on the same side of have radii and and are tangent to at points and respectively. The four spheres are also each tangent to a second plane and are all on the same side of The value of can be written as where and are relatively prime positive integers. Find
小提示:
每个球心位于其切点上方,高度等于半径;把第二个平面写成 ,其中 是单位向量,并表达两个相切条件
Each center lies at height equal to its radius above its tangency point; write the second plane as with a unit vector and express both tangencies
大提示:
条件说明半径是切点在 中位置的仿射函数;取值依次为 的点是 ,所以在 处代入这个函数
The conditions say the radius is an affine function of the tangency point in it takes values at so evaluate that function at
解答:
一个半径为 、与 相切于 的球,其球心为 ,其中 是 向上的单位法向量。把 写成 ,其中单位法向量 ,所用坐标使 为 -平面。所有球在同一侧相切意味着对每个球都有 ,也就是 。这里 ,否则左边会是常数而半径不同。因此 ,其中仿射函数 。
取 、、。满足 、、 的仿射函数为 。重心为 ,直线 为 。因为 ,反射得到
因此 。(这样的平面确实存在:法向量条件 ,且 ,给出 。)因为 ,答案为 。
A sphere of radius tangent to at has center where is the upward unit normal of Write as with unit normal in coordinates where is the -plane. Tangency with all spheres on the same side means for each sphere, that is Here since otherwise the left side would be constant while the radii differ. So for the affine function
Take The affine function with is The centroid is and line is Since reflecting gives
Therefore (Such a plane exists: the normal condition with gives ) Since the answer is
13.
对每个小于 的非负整数 ,定义其中当 时,规定 为 。也就是说, 是所有形如 的二项式系数之和,其中 ,且 是 的倍数。
求列表 、、、、 中有多少个整数是质数 的倍数。
For each nonnegative integer less than define where is defined to be when That is, is the sum of all the binomial coefficients of the form for which and is a multiple of
Find the number of integers in the list that are multiples of the prime number
小提示:
处理 ,所在环为 ,并模 化简;此时 的系数正好变成
Work with in modulo where the coefficient of becomes exactly
大提示:
利用 ,把 化简为一个次数小于 的幂
Use to collapse to a power of degree less than
解答:
在环 中工作。把 化简时,每个指数 都替换为 ,所以
因为 是质数, ,且 ,所以在这个环中 。写成 ,于是由于 ,没有指数折回,所以 对 都成立,其中 当 。
对 ,二项式系数 不能被 整除: 和 在 进制中都是一位数,所以 Lucas 定理给出非零值(也可以说 不含因子 )。因此 当且仅当 ,共有 个值。
Work in the ring Reducing replaces each exponent by so
Since is prime, and so in this ring. Writing As no exponents fold, so for where for
For the binomial coefficient is not divisible by both and are single digits in base so Lucas’ theorem gives a nonzero value (indeed involves no factor of ). Hence exactly for which is values.
14.
在一个等角五边形中,边长平方和等于 ,对角线长度平方和等于 。该五边形周长的平方可表示为 ,其中 和 为正整数,且 不被任何质数的平方整除。求 。
In an equiangular pentagon, the sum of the squares of the side lengths equals and the sum of the squares of the diagonal lengths equals The square of the perimeter of the pentagon can be expressed as where and are positive integers and is not divisible by the square of any prime. Find
小提示:
把边写成向量 ,其中 ,且总和为零;每条对角线是两个相邻边向量之和
Write the sides as vectors with and vanishing sum; each diagonal is the sum of two consecutive side vectors
大提示:
对角线数据给出 ,再展开 可确定
The diagonal data gives and expanding then determines
解答:
在等角五边形中,每条边的方向转过外角 ,所以边向量为 ,其中 ,,且 。记 、、(下标循环)。每条对角线都是两个相邻边向量之和,所以其平方为 ,把五条相加得所以
展开 , 与 的夹角为 , 与 的夹角为 :所以 。利用 和 ,得到 ,且 。
周长的平方为因此 。
In an equiangular pentagon each side direction turns by the exterior angle so the sides are the vectors for where and Write and (indices cyclic). Each diagonal is a sum of two consecutive side vectors, so its square is and summing all five gives so
Expanding the angle between and is and between and is so Using and we get and
The square of the perimeter is Therefore
15.
设 、 和 为正整数,其中 和 都大于或等于 ,且小于或等于 。定义一个 的格子环:它位于一个 的方格网中,由 个围绕 (可能为空)矩形的格子组成。例如,下图展示了一种把 方格网分成 个格子环的方法。
求把一个 方格网分成 个格子环的方法数,使得方格网中的每个格子都恰好属于一个格子环。
Let and be positive integers with both and greater than or equal to and less than or equal to Define an cell loop in a grid of cells to be the cells that surround an (possibly empty) rectangle of cells in the grid. For example, the following diagram shows a way to partition a grid of cells into cell loops.
Find the number of ways to partition a grid of cells into cell loops so that every cell of the grid belongs to exactly one cell loop.
小提示:
每个环的矩形内部必须恰好由其他环填满,而环的大小迫使 。研究最外层环的矩形。
Every loop’s rectangle must have its inner rectangle exactly filled by other loops, and the loop sizes force Study the rectangles of the outermost loops.
大提示:
面积与环数迫使最外层矩形成为整个正方形或平行的全长板条;板条宽度为偶数 ,每条恰好使用 个环
Area and loop counts force the outermost rectangles to be the full square or parallel full-length slabs of even width each using exactly loops
解答:
因为五个环覆盖了 个格子,所以 。每个环含偶数个格子,因此奇数乘奇数的矩形不能被环完全填满;并且填充一个最短偶数边为 的矩形至少需要 个环,因为剥去一个最外层环会使那条边正好缩短 ,而把矩形分成较小矩形只会把这些需求相加。现在考虑一个分割中的最外层环 (也就是其矩形不位于任何其他环的矩形内部的环):它们的矩形铺满 正方形。若最外层矩形 的最短偶数边为 ,它使用 个环,且最多覆盖 个格子。对这个铺法求和,,所以处处取等:每个 都在一个方向上跨满长度 ,宽度为偶数 ,并且恰好由 个环填充。两个不同方向的全长板条会相交,所以最外层矩形要么是整个正方形,要么是平行板条;同样的等号论证可在每个环的内部矩形中重复。
令 为填充一条全高、偶数宽度为 的板条的方法数,其中使用 个环,并要求板条自身的 边界是一个最外层环。宽度 的板条是一个单环:。宽度 的板条是一个 环围住一个 环:。宽度 的板条是一个 环,围住一个 区域,内部有两个环:要么嵌套 ( 围住 ),要么是两条 板条,所以 。宽度 的板条围住一个 区域,内部有三个环:一个 环围住一个含两个环的 区域(如前有 种);或全高板条宽度为 ( 种);或宽度为 的两种顺序 ( 种),所以 。同样的递推计数整个正方形:一个 环围住一个含四个环的 区域,其中 、,和 区域分别有 ,再有 ,再有 种填法(每一步为单个嵌套环、竖直板条或水平板条)。
最后统计最外层结构。单个 矩形给出 种分割。若为平行板条,其宽度构成 的偶数部分有序拆分,且至少有两部分,并且方向(竖直或水平)使计数翻倍: 给出 ; 的 种顺序给出 ; 的 种顺序给出 ; 的 种顺序给出 ; 的 种顺序给出 ; 的 种顺序给出 ,每个方向共 种。总数为 。
Since the five loops cover cells, Every loop has an even number of cells, so no odd-by-odd rectangle can be exactly filled by loops; and filling a rectangle whose shortest even side is requires at least loops, since peeling off an outermost loop shrinks that side by exactly while splitting a rectangle into smaller ones only adds up such requirements. Now consider the outermost loops of a partition (those whose rectangles lie inside no other loop’s rectangle): their rectangles tile the square. If outermost rectangle has shortest even side it uses loops and covers at most cells. Summing over the tiling, so equality holds throughout: each spans the full in one direction, has even width and is filled with exactly loops. Two full-length slabs in different directions would overlap, so the outermost rectangles are the whole square or parallel slabs, and the same equality argument repeats inside every loop’s inner rectangle.
Let be the number of ways to fill a full-height slab of even width with loops, subject to the slab’s own boundary being one outermost loop. (A split into smaller outermost slabs is counted later instead.) A width- slab is a single loop: A width- slab is a loop around an loop: A width- slab is a loop around an region holding two loops — either nested ( around ) or two slabs — so A width- slab surrounds an region holding three loops: an loop around a region with two loops ( ways as before), or full-height strips of widths ( way), or widths in two orders ( ways), so The same recursion counts the full square: a loop around an region with four loops, where the and regions admit then then fillings (single nested loop, vertical strips, or horizontal strips at each stage).
Finally, tally the outermost structures. The single rectangle gives partitions. For parallel slabs, the widths form a composition of into even parts with at least two parts, and orientations (vertical or horizontal) double the count: gives in orders gives in orders gives in orders gives in orders gives and in orders gives for per orientation. The total is