Problem 5
Determine all functions from the set of positive integers to the set of positive integers such that, for all positive integers and , there exists a non-degenerate triangle with sides of lengths , and . (A triangle is non-degenerate if its vertices are not collinear.)
Step 1 of 4: f(1) = 1 and f is an involution
In plain words
The degenerate side of length 1 in the triangle inequality is the most restrictive, so testing a=1 pins down f(1), and testing b=1 afterward makes f its own inverse.
Detailed analysis
Taking : the triangle with sides has two sides differing by less than the third side ; since and are integers, they must be equal, for every . If , set ; then for all makes periodic with period , hence bounded, say always. But taking fixed and arbitrarily large in the original condition needs , impossible for large . So . Now take : the triangle with sides again has two sides ( and ) differing by less than the third side , so being integers, for every .