The Chicken McNugget Theorem demonstrated with marimo

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:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.