BMO/BMO
2017 British Mathematical Olympiad
10 道题目
British Mathematical OlympiadRound 1Round 2
选择题目
点击题号切换,正文区一次只显示一道题
1. This problem concerns triangles which have vertices with integer coordinates in the usual $x,y$-coordinate plane. For how many positive integers $n<2017$ is it possible to draw a right-angled isosceles triangle such that exactly $n$ points on its perimeter, including all three of its vertices, have integer coordinates?
考场第一眼 / First look
考场第一眼:不要从面积或斜边长度入手枚举三角形。先把直角顶点平移到原点,并把一条直角边写成整数向量 \(u=(a,b)\)。与它等长且垂直的另一条边只能是 \(u\) 的正负 \(90^\circ\) 旋转,所以可写成 \((-b,a)\)。接着使用格点线段的基本公式:坐标差为 \((r,s)\) 的线段含有 \(\gcd(|r|,|s|)+1\) 个格点。三条边合并后,边界格点数变成 \(2\gcd(a,b)+\gcd(a+b,a-b)\)。最后把 \(a,b\) 同除以它们的最大公因数;互素坐标只能一奇一偶或同时为奇数,恰好给出 \(3g\) 与 \(4g\) 两类。必须同时证明反向构造,才能把“必要条件”升级成完整分类。