Runs and Patterns Explorer

Runs and Patterns Explorer

Sen, Agarwal and Goswami · University of Delhi, 1999–2005

Parameters

Distribution

Values

Mean / variance, from the paper's formula and from the exact count

Every number is computed in your browser. “Paper” expands the theorem's generating function exactly as printed into its probabilities. “Exact count” adds up the probabilities of all sequences directly, using only the definition of the pattern. Red cells mark values where the two differ.