lcm(24,30,45) = 360, so every 360th donut has all three extras.Originally Posted by mathsmad
donuts with jam and sprinkles only: lcm(30,45) = 90, every 90th donut but leave out every 360th donut (since it will also have chocolate)b/ How many donuts with jam that are either chocolate coated without sprinkles or with sprinkles but without chocolate coating, has the machine produced?
donuts with jam and chocolate only: lcm(24,30) = 120, every 120th donut but leave out every 360th donut (since it will also have chocolate)
btw there are no donuts with chocolate and sprinkles only, although those are my favorites. :-(
Hope this helps.