https://subethasoftware.com/2020/03/30/the-marbles-in-a-bag-puzzle-in-color-basic-part-2/
The marbles in a bag puzzle in Color BASIC - part 2