The question illustrates the use of the greatest common factors.
15 people will receive the same amount without having any leftovers
From the question, we have:
[tex]Bags = 30[/tex]
[tex]Hotdogs = 45[/tex]
Represent as a ratio
[tex]Bags : Hotdogs =30 : 45[/tex]
Divide by 15
[tex]Bags : Hotdogs =2 : 3[/tex]
This means that
1 person would collect 2 bags and 3 hotdogs
We divided 30 and 45 by 15
This means that, the number of people is: 15
Hence,
15 people will receive the same amount without having any leftovers
Read more about common factors at:
https://brainly.com/question/11221202