The minimum sum

4

1 votes
Number Theory, Algorithms, GCD, Math, Greedy algorithm

?