On the Theory of Runs with some Applications to Quality Control | Synapse