SOLUTION: Suppose that we have a 15-letter alphabet. How many 6-letter words have exactly 3 consecutive letters the same?

Algebra.Com
Question 1128380: Suppose that we have a 15-letter alphabet. How many 6-letter words have exactly 3 consecutive letters the same?
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
Suppose that we have a 15-letter alphabet. How many 6 letter words have
exactly 3 consecutive letters the same?

Let variable symbols X,@,# and $ represent any letters in the 15-letter
alphabet.

Note: I will assume XXX@@@ to be acceptable as a 6-letter word having
exactly 3 consecutive letters the same.  It has exactly 3 consecutive
letters the same.  It doesn't matter that it has 2 different pairs of
exactly 3 consecutive letters the same.*

Case 1: XXX@#$
Case 2: @XXX#$
Case 3: $#XXX@, the reverse of Case 2, and has the same number of words.
Case 4: $#@XXX, the reverse of Case 1, and has the same number of words.

However, when we finish we must subtract from the final figure, the
duplications of cases of XXX@@@. 

Case 1: XXX@#$ 
We can choose the X any of 15 ways.
We can choose the @ any of 14 ways (to prevent 4 consecutiva X's.
We can choose the # any of 15 ways.
We can choose the $ any of 15 ways.

That's 15∙14∙15∙15 = 47250

Case 2: @XXX#$ 
We can choose the X any of 15 ways.
We can choose the @ any of 14 ways. (to prevent 4 consecutive X's.
We can choose the # any of 14 ways. (to prevent 4 consecutive X's.
We can choose the $ any of 15 ways.

That's 15∙14∙14∙15 = 44100

Case 3: $#XXX@
This is the same as case 2, 44100

Case 4: $#@XXX,
This is the same as case 1, 47250

So for the 4 cases we have 47250 + 44100 + 44100 + 47250 = 182700

However each case of XXX@@@ is counted once in case 1 and once in case 4.
So they are counted twice among the 182700. But we want to count them only
once.  So we must subtract them once.

For the case XXX@@@,
There are 15 ways to choose the X and
There are 14 ways to choose the @.
So there are 15∙14 = 210 words that are counted twice among the 182700.
So we must subtract 210 from the 182700  

Final answer = 182700-210 = 182490 6-letter words with exactly 3
consecutive letters.

-------
*Note: in the unlikely event that XXX@@@ were not acceptable, then you
would subtract another 210 to eliminate them from the count.

Edwin

RELATED QUESTIONS

In the ordinary alphabet of 26-letters. a) Define a "4-letter word" to be any list of... (answered by vleith,stanbon)
How many seven letter code words can be formed using a standard 26 letter alphabet if... (answered by VFBundy,Edwin McCravy)
hi, The Hebrew alphabet has 22 letters. If order is important, how many 3-letter... (answered by ewatrrr)
4. How many 3-letter code words are possible using the first 8 letters of the alphabet if (answered by ramkikk66)
How many 2-letter code words can be formed from the first 6 letters of the alphabet if... (answered by Fombitz)
How many 5-letter words can be made out of 26 letters, repetition allowed, but not... (answered by Alan3354)
How many 3-letter code words are possible using the first 8 letters of the alphabet if... (answered by scott8148)
How many 3-letter code words are possible using the first 7 letters of the alphabet if... (answered by Alan3354)
Write the word that the number 32 represents. From this word, take 33 out the opposite... (answered by ikleyn)