Three-one strings with matching endpoints
Among binary strings of length 8 that contain exactly three 1s, how many have their first and last bits equal (both 0, or both 1)?
Show hints (2)+
- Case on the common endpoint value; only the 6 interior slots are free.
- Both ends 1: ; both ends 0: ; add.
Answer
Reveal answer →Final answer
26
Want the full step-by-step worked solution? It's part of Premium — along with a worked solution for every question in the bank.