36 red balls and 24 yellow balls, the same size, are packed in the same kind of box, each kind of ball is just finished, how many can each box hold at most? How many boxes do you need?

36 red balls and 24 yellow balls, the same size, are packed in the same kind of box, each kind of ball is just finished, how many can each box hold at most? How many boxes do you need?


Decompose 36 and 24 into quality factors: 36 = 2 × 2 × 3 × 3; 24 = 2 × 2 × 2 × 3; the greatest common factors of 36 and 24 are: 2 × 2 × 3 = 12; 36 / 12 = 3 (box); 24 / 12 = 2 (box); 3 + 2 = 5 (box); answer: each box can hold 12 at most, at this time, a total of 5 boxes are required