13.39 Let M be a point on the plane with coordinates (p×1994,7p×1994), where p is a prime number. Find the number of right triangles that satisfy the following conditions: (1) The three vertices of the triangle are all integer points, and M is the right-angle vertex; (2) The incenter of the triangle is the origin. (9th China High School Mathematics Winter Camp, 1994)
Official solution
[Solution] Connect the origin O and point M, and take the midpoint I(p×997,7p×997) of the line segment OM. Perform a central symmetry about point I, transforming point (x,y) into point (p×1994−x,7p×1994−y). Thus, a right-angled triangle that satisfies the conditions is transformed into a congruent right-angled triangle with integer coordinates, with the incenter at point M and the right angle at the origin. Therefore, the number of right-angled triangles with integer coordinates that satisfy the conditions can be considered by only looking at the case where the right angle is at the origin and the incenter is at point M.
Consider a right-angled triangle △OAB with integer coordinates that satisfies the above conditions. Let ∠xOA=α, ∠xOM=β. Then α+4π=β. From the given conditions, tgβ=7. tgα=tg(β−4π)=1+tgβtg4πtgβ−tg4π=43.
Thus, the coordinates of any point on the leg OA can be written as (4t,3t). Since A is an integer point, if A(4t,3t),t∈N, then OA=5t. From ∠yOB=α, the coordinates of point B are (−3t0,4t0),t0∈N,OB=5t0. The inradius of the right-angled triangle is r=22OM=5p×1994. Let OA=2r+p0, OB=2r+q0, Since OA, OB, and r are all multiples of 5, then p0 and q0 are also multiples of 5. AB=OA+OB−2r=2r+p0+q0.
By the Pythagorean theorem, AB2=OA2+OB2, i.e., (2r+p0+q0)2=(2r+p0)2+(2r+q0)2,
then p0q0=2r2, i.e., p0q0=2⋅52⋅19942⋅p2. Since 5p0 and 5q0 are natural numbers, we have 5p0⋅5q0=23×9772×p2.
When p=2 and p=997, {5p0=2i×997j×pk,5q0=23−i×9972−j×p2−k.
where i=0,1,2,3, j=0,1,2, k=0,1,2. Thus, (5p0,5q0) has 4×3×3=36 different ordered solutions. When p=2, we have {5p0=2i×997j,5q0=25−i×9972−j.
where i=0,1,2,3,4,5, j=0,1,2. Thus, (5p0,5q0) has 6×3=18 different ordered solutions. When p=997, we have {5p0=2i×997j,5q0=23−i×9974−j.
where i=0,1,2,3, j=0,1,2,3,4. Thus, (5p0,5q0) has 4×5=20 different ordered solutions. Therefore, the number of right-angled triangles is: S=⎩⎨⎧36,18,20,when p=2 and p=997,when p=2,when p=997.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.