Brilliant Weekly Problems
January 1
Intermediate
Using an ordered alphabet of 26 letters, how many ways are there to chose a set of six different letters such that no two letters in the set are adjacent in the alphabet?
For instance, {ISOKAY} is a valid set of six letters, but {VETOIF} is not because E and F are both in the set.
Solution:
We can create a row of 27 boxes, the first empty and the rest filled with the letters A to Z in alphabetical order. We can then get 6 boxes of 2 with one filled and one empty, the filled one representing the letter we chose and the empty one to not chose any letter of the ones we have chosen before. We can see that we also need 15 other boxes to represent the non chosen letters not adjacent to the ones we chose. These boxes total to 6 + 15 = 21 and we must chose 6 or 15 of them. We get:
21*20*19*18*17*16 = 21*19*17*8 = 54264 ways.
6*5*4*3*2*1
Intermediate
Using an ordered alphabet of 26 letters, how many ways are there to chose a set of six different letters such that no two letters in the set are adjacent in the alphabet?
For instance, {ISOKAY} is a valid set of six letters, but {VETOIF} is not because E and F are both in the set.
Solution:
We can create a row of 27 boxes, the first empty and the rest filled with the letters A to Z in alphabetical order. We can then get 6 boxes of 2 with one filled and one empty, the filled one representing the letter we chose and the empty one to not chose any letter of the ones we have chosen before. We can see that we also need 15 other boxes to represent the non chosen letters not adjacent to the ones we chose. These boxes total to 6 + 15 = 21 and we must chose 6 or 15 of them. We get:
21*20*19*18*17*16 = 21*19*17*8 = 54264 ways.
6*5*4*3*2*1
A very similar idea pops up in AMC contests too: https://strive4ww.blogspot.com/2020/08/choosing-subsets-without-consecutive.html
ReplyDelete