Badri S. answered 12/09/24
Wall street quant with industry experience in computer science, math
The first ratio, reduced to it lowest terms, is 3:4 (or 4 green balls for every 3 blue balls). The second ratio is in its lowest terms already (3 red for every 7 green balls). How to combine them?
Since green is the common color, we multiply each ratio by a (different) number so the number of green balls is equal in both ratios.
To find the multipliers, we first note that the LCM (leaast common multiple) of 4 and 7 is 28. Since 4 goes into 28 7 times, we rewrite 3:4 as 3x7:4x7 = 21:28.
Similarly, we calculate the factor to multiply the second ratio is 4 (by dividing 28 by 7),and scale the second ratio (7:3) to 28:12.
Since the number of green balls match, we can combine the two ratios as Blue:Green:Red :: 21:28:12. So the fewest number of blue + red balls is 21+12 = 33.