Answer:
4 packs of hotdogs, 5 packs of buns
Step-by-step explanation:
In this case, we need to find the LCM, <em>least common multiple,</em> of 8 and 10 to find the least number of packs of hot dogs and buns that Tommy needs to buy.
The LCM of 8 and 10 is the smallest number that is both divisible by 8 and 10. One way we can find this is by checking all the multiples of 10 in ascending order to see if they are divisble by 8:
10 is not divisible by 8
20 is not divisible by 8
30 is not divisible by 8
40 is divisible by 8!
Therefore, Tommy will need to by 40 buns and 40 hotdogs. Since buns come in packs of 8 and hot dogs come in packs of 10, we can divide to get the number of packs Tommy should buy respectively:
÷
packs of hotdogs
÷
packs of buns
<u>Tommy will need to buy 4 packs of hotdogs and 5 packs of buns so that he does not have anything left over.</u>
<em>I hope this helps! Let me know if you have any questions :)</em>