681. Maximal Area

Given positive integers abcd, it may be possible to form quadrilaterals with edge lengths a,b,c,d (in any order). When this is the case, let M(a,b,c,d) denote the maximal area of such a quadrilateral. For example, M(2,2,3,3)=6, attained e.g. by a 2×3 rectangle.

Let SP(n) be the sum of a+b+c+d over all choices abcd for which M(a,b,c,d) is a positive integer not exceeding n. SP(10)=186 and SP(100)=23238.

Find SP(1000000).

681. 最大化面积

给定正整数 abcd,此时,可能存在边长为 a,b,c,d (顺序任意)的四边形,此时记 M(a,b,c,d) 为此类四边形面积的最大值。例如 M(2,2,3,3)=6,这个值在形成的四边形为 2×3 的矩形时取到。

SP(n) 为所有满足以下条件的四元组 (a,b,c,d)a+b+c+d 之和:M(a,b,c,d)n 的正整数且 abcd。已知:SP(10)=186SP(100)=23238

SP(1000000)


这个链接 回到源站。

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