A binary string is a finite word over the alphabet . There are strings of length . Finite binary strings have an effective bijection with natural numbers, so computable enumerability and immunity apply to sets of strings.
A binary string with zeroes and ones is determined by its one-positions, giving possibilities. Sum for and apply the hockey-stick identity. Equivalently, distribute at most ones among the gaps around the zeroes and add a slack count; stars and bars counts nonnegative counts summing to .
Articles by others on the same topic
There are currently no matching articles.