Five-letter strings with no repeats side by side
Question
Using letters from , how many -letter strings can be formed in which no letter occurs more than twice and no two neighbouring letters are equal?
Short answer
. Without the 'at most twice' rule there are strings with no equal neighbours. A letter can appear times without touching only in the pattern , giving strings to remove, so .
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Counting and Combinatorics
- Sample Spaces, Events, and the Probability Axioms
- Conditional Probability, Total Probability, and Bayes' Rule
Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free