904. Pythagorean Angle

Given a right-angled triangle with integer sides, the smaller angle formed by the two medians drawn on the the two perpendicular sides is denoted by θ.

Let f(α,L) denote the sum of the sides of the right-angled triangle minimizing the absolute difference between θ and α among all right-angled triangles with integer sides and hypotenuse not exceeding L.
If more than one triangle attains the minimum value, the triangle with the maximum area is chosen. All angles in this problem are measured in degrees.

For example, f(30,102)=198 and f(10,106)=1600158.

Define F(N,L)=n=1Nf(n3,L).
You are given F(10,106)=16684370.

Find F(45000,1010).

904. 毕达哥拉斯角

给定三边长为正整数的直角三角形,我们作出两条直角边上的中位线,并将这两条中位线所成的较小的一个夹角记为 θ

我们记 f(α,L) 为:所有斜边长度 L 的直角三角形中,|θα| 最小的一个三角形的三边长度之和。如果有多个三角形使得 |θα| 最小,则取其中面积最大的一个。本题中所有的角度以度(°)为单位。

例如,f(30,102)=198f(10,106)=1600158

F(N,L)=n=1Nf(n3,L),已知 F(10,106)=16684370

F(45000,1010)


这个链接 回到源站。

这个链接 回到详细版题目目录。