Let A be a set of seven positive numbers. Determine the maximal number of triples of elements of A satisfying and .
NMC 1997
Nordic Mathematical Contest 1997.
Other problems
Let be a convex quadrilateral. We assume that there exists a point inside the quadrilateral such that the areas of the triangles , and are equal. Show that at least one of the diagonals of the quadrilateral bisects the other diagonal.

Figure 9.
Let , and be four different points in the plane. Three of the line segments , and have length a. The other three have length , where . Determine all possible values of the quotient .
Let be a function defined in the set of non-negative integers, satisfying , and . Show that is an injection, i.e. if , then .