https://www.collectedny.org/mathmemos/cookie-problem/
The Cookie Problem