In each of the following, there are two groups of numbers with their sums. Interchange pairs of numbers between the two groups to make their sums equal. Use the least number of moves. (a) Group 1: 1, 2, 7, 9 (sum = 19); Group 2: 3, 4, 5, 9 (sum = 21) (b) Group 1: 5, 7, 12, 15 (sum = 39); Group 2: 9, 11, 13, 14 (sum = 47) (c) Group 1: 11, 15, 19, 23 (sum = 68); Group 2: 13, 17, 21, 25 (sum = 76) (d) Group 1: 77, 78, 79, 80 (sum = 314); Group 2: 81, 82, 83, 84 (sum = 330)
Swapping x from Group 1 with y from Group 2 changes the first group’s sum by y − x. Use the fewest swaps that make the sums equal.
(a) The sums differ by 2, so one swap must increase Group 1 by 1. Swap 2 and 3: the sums become 20 and 20.
(b) The sums differ by 8, so one swap must increase Group 1 by 4. Swap 5 and 9: the sums become 43 and 43.
(c) One swap would need to increase Group 1 by 4, but no available pair has that difference. Swap 11 and 13, then 19 and 21: the sums become 72 and 72.
(d) One swap would need to increase Group 1 by 8, but no available pair has that difference. Swap 77 and 81, then 79 and 83: the sums become 322 and 322.