题面据 APMO 可核档案整理;中文题意为本站自译,公式请以原始来源为准。
Consider a table, and identify the cell in row and column , with the ordered pair . Let be an integer such that . A -knight is a piece that moves one cell vertically or horizontally and cells to the other direction; that is, it moves from to such that is either or . The -knight starts at cell , and performs several moves. A sequence of moves is a sequence of cells , such that, for all and the -knight can move from to . In this case, each cell is said to be reachable. For each , find , the number of reachable cells.
Answer: .
考虑 表,并使用有序对 标识行 和列 。令 为整数,使得 。 -骑士是一个可以垂直或水平移动一个单元格并将 个单元格移动到另一个方向的棋子;也就是说,它从 移动到 ,使得 要么是 要么是 。 -knight 从单元格 开始,并执行多个动作。移动序列是单元格序列 , 使得对于所有 并且 -knight 可以从 移动到 。在这种情况下,每个单元格 被认为是可达的。对于每个 ,找到 ,即可达单元格的数量。
答案:。
提示 1
先看同余、整除、最大公因数和 p 进赋值。
提示 2
把整数条件转成同余方程、指数比较或下降过程。
提示 3
若要存在性,用构造;若要唯一性,用最小反例、无限下降或模限制。
完整解答
这页先给题面、题型和提示阶梯,完整证明留给读者逐步展开。2024 年 APMO P2 可先归入数论:第一步把题设翻成对象、条件、目标三行;第二步沿提示寻找不变量、标准构型或关键变形;第三步补齐边界情形,并回到题目原要求核对。
这题适合先独立想一轮再打开提示。不要急着搜索完整解答,先问自己:题面里最硬的限制是哪一句?