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 4 of 5: Pin down n and m
In plain words
Positivity of a1 turns into a size restriction on n and m, which together with n<m leaves only two possibilities.
Detailed analysis
Combining the three equations gives . Since , this forces . If then , which would force , i.e. , contradicting ; hence . Then gives , and together with this leaves .