Problem 1
Given any set of four distinct positive integers, we denote the sum by . Let denote the number of pairs with for which divides . Find all sets of four distinct positive integers which achieve the largest possible value of .
Step 5 of 5: Solve both cases and verify
In plain words
Each admissible (n,m) pins down all four numbers as fixed fractions of sA, and both resulting patterns really do achieve nA=4.
Detailed analysis
For , solving the linear system gives , i.e. for a positive integer (with ). For it gives , i.e. (with ). In both families one checks directly that and divide while lie strictly between and , so ; these are exactly the maximizing sets.