from Brain Teaser Solver by Rodolphe Sitter
Brain Teaser Solver: Compute the expected time to get a given sequence of independent outcomes.

All files for Brain Teaser Solver
/OutcomeSequence.m
/license.txt

Contact us at files@mathworks.com