SOLUTION: you have 5 Gs and 9 Fs. How many ways can these letters be lined up if the Gs cannot be next to eachother?

Algebra.Com
Question 915839: you have 5 Gs and 9 Fs. How many ways can these letters be lined up if the Gs cannot be next to eachother?
Answer by richard1234(7193)   (Show Source): You can put this solution on YOUR website!
Treat each G as a "bar" (e.g. |) or divider and each F as a star. The problem is equivalent to finding number of ways to arrange 9 stars and 5 bars given that there is at least one stars separating any two bars, or the number of ways to put 9 indistinguishable balls into 5+1 = 6 distinguishable boxes, given that the middle four each contain at least one ball.

Put one ball into each of the middle four boxes, and now we are left with 5 balls and 6 boxes. The number of ways is (5+6-1)C5 = 10C5 = 252.

RELATED QUESTIONS

A family of 5 is going to line up for a picture in a row of 5 chairs. In how many ways... (answered by ewatrrr)
in how many ways can 4 boys and 2 girls be seated if i)the 2 girls are to seat next to... (answered by Edwin McCravy)
I keep on finding difficulty in Combinations and Premutations. Here is one question, "In... (answered by richard1234)
how many different ways can 5 people be seated on a bench if 2 of the people must sit... (answered by Edwin McCravy)
16 books are to be lined up on the shelf. If 6 of the books are identical math books and... (answered by math_tutor2020)
How many ways can you arrange the letters in the word SMILE if the first letter must be... (answered by stanbon)
In how many ways can 15 students be lined... (answered by Alan3354)
How many ways can 4 people be lined... (answered by Alan3354)
In how many ways can 4 people be lined up? (answered by Edwin McCravy)