The two largest distances in finite planar sets

Abstract We determine all homogenous linear inequalities satisfied by the numbers of occurrences of the two largest distances among n points in the plane.