
David W. answered 01/14/18
Tutor
4.7
(90)
Experienced Prof
There are two good methods used to find the LCM (Least Common Multiple).
Method 1: List the multiples and choose the lowest common one:
Multiples of 10: 10 20 30 40 50 60 70 80 90
Multiples of 8: 8 16 24 32 40 48 56 64 72 80 88
Method 2: List the prime factors and choose the smallest superset:
Prime factors of 10: 2 * 5
Prime factors of 8: 2 * 2 * 2
The smallest superset (contains each of above): 2 * 2 * 2 * 5
2 * 2 * 2 * 5 = 40
That means: Buy 4 packs of hotdogs and 5 packs of buns. That's 40 of each.