Vincent Warmerdam used a marimo notebook to demonstrate how the Chicken McNugget Theorem worked. If you’ve not heard about it, it’s a variation of the coin problem which asks the largest number of a thing that cannot be obtained only using a set of specific quantities. For the McNuggets, it’s what’s the most McNuggets you can buy with only boxes of 6, 9, and 20.
Filed under: McDonald's numbers Python video