Problem 4
Determine, with proof, the greatest number which is the product of positive integers whose sum is .
Step 6 of 6: Use the remainder modulo
In plain words
The remainder modulo selects one rather than zero or two; all remaining mass is spent on the most efficient factor, .
Detailed analysis
Since , and the number of 's is at most two, the number of 's must be exactly one: two 's would contribute , while one contributes . The remaining sum is , so the maximizing multiset is one and copies of , with product .