Problem Squared, Episode 130: Sly Skittles Claim

In Episode 130 of Problem Squared — Sly Skittles Claim and Why Sniffles Name? — Matt talked about the remarkable number of different possible bags of Skittles, and gave a great explanation of how to calculate that figure. However, there’s a subtle slip in the conclusion: not all bag compositions are equally likely.

Because each Skittle is assigned a flavour independently and uniformly at random, the Central Limit Theorem kicks in — the count of each flavour in a bag is far more likely to be close to n/5 (where n is the number of Skittles in the bag) than to be very uneven. This means the problem isn’t quite the birthday paradox Matt described, because the birthday paradox assumes all outcomes are equally probable.

So how quickly do two bags actually share the same composition in practice? I wrote some terrible html to visualise exactly that. Run the simulation below and see for yourself — and as a spoiler: with Fun Size bags you almost certainly need fewer than 100 bags before you get a match. Go on, give it a go!

I’d love to dig into this further if you fancy discussing it or making a video about it, Matt — feel free to get in touch.