Answer:
He has to buy 4 packages of hamburgers in packages of 30 and 5 packages of hamburgers in packages of 24
Explanation:
First we have to calculate the least common multiple (LCM) of 24 and 30
We will calculate the LCM of 24 and 30 by prime factorization method
24 = 2*2*2*3 =

30 = 2*3*5 =

LCM =

LCM = 120
So number of hamburger buns = 120
Therefore, he must buy 120/24 = 5 packages of hamburgers in packages of 24 and he must also buy 120/30 = 4 packages of hamburgers in packages of 30