Counting Runs of Ones and Ones in Runs of Ones in Binary Strings

HTML  Download Download as PDF (Size: 651KB)  PP. 44-47  
DOI: 10.4236/ojapps.2012.24B011    4,121 Downloads   6,716 Views  Citations

ABSTRACT

Consider a binary string (a symmetric Bernoulli sequence) of length . For a positive integer , we exactly enumerate, in all  possible binary strings of length , the number of all runs of 1s of length (equal, at least)  and the number of 1s in all runs of 1s of length at least . To solve these counting problems, we use probability theory and we obtain simple and easy to compute explicit formulae as well as recursive schemes, for these potential useful in engineering numbers.

Share and Cite:

Makri, F. , Psillakis, Z. and Kollas, N. (2012) Counting Runs of Ones and Ones in Runs of Ones in Binary Strings. Open Journal of Applied Sciences, 2, 44-47. doi: 10.4236/ojapps.2012.24B011.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.