Jupyter/python notebooks to compute the minimum spend required to attain a given set of lottery wins with at least a pre-specified probability.
minSpend is for a single player
minSpentGroup allows data for multiple players
Dylan D. Daniels and Philip B. Stark, based on Matlab code by Skip Garibaldi.