Question
A binary string of length $n$ is a string of $n$ characters that are each $0$ or $1$. Find the number of binary strings of length $n$ that either begin with $1$ or end with $00$. Report the answer for $n = 10$.
easy Probability
A release-checked easy problem for training Inclusion-Exclusion, Combinations and Permutations.
A binary string of length $n$ is a string of $n$ characters that are each $0$ or $1$. Find the number of binary strings of length $n$ that either begin with $1$ or end with $00$. Report the answer for $n = 10$.
This Probability problem is tagged Inclusion-Exclusion, Combinations and Permutations. State the random variables and conditioning information explicitly, then check the result against boundary cases before opening hints or a solution.
Probability · Akuna
Probability
Probability
Probability · SIG, DE Shaw
Probability · SIG, Jane Street
Probability · Jane Street