The number of ways, 16 identical cubes, of which 11 are blue and rest are red, can be placed in a row so that between any two red cubes there should be at least 2 blue cubes, is ______.
Solution
Core idea. A row of two kinds of identical objects is fixed by the sizes of the gaps.
Concept refresher. The number of solutions of in non-negative integers is
A variable that must be at least is replaced by plus a new non-negative variable.
Picture the situation. There are 5 red cubes and 11 blue cubes, and cubes of the same colour are identical. The red cubes divide the row into 6 gaps: one before the first red cube, four between neighbouring red cubes, and one after the last. A row is fixed by the number of blue cubes in each gap, and each of the four inner gaps needs at least 2.
Approach. Describe the row by its gaps, fill the minimum, and count the free sharings of the rest.
Step 1: The gaps
Let be the number of blue cubes before the first red cube, to the numbers between red cubes, and the number after the last. Then with .
Step 2: Count
Putting 2 blue cubes in each inner gap uses 8 and leaves 3 to share freely among the 6 gaps, which can be done in ways.
Answer. 56
Sanity check. The 3 spare blue cubes can go all in one gap in 6 ways, as 2 and 1 in 30 ways, or as 1, 1, 1 in 20 ways, which adds to 56.
Common wrong answers
- 792: Requiring only 1 blue cube between red cubes gives .
Key takeaway
The trap. The two end gaps may be empty; only the inner gaps have a minimum.
How toppers think. They fill the minimum in each inner gap first and share out what is left.
Remember.
More on Distribution Problems
- A person has three different bags and four different books. The number of ways, in which he can put these…
- A building has ground floor and 10 more floors. Nine persons enter in a lift at the ground floor. The lift…
- Let A = {(a, b, c): a, b, c; are non-negative integers and; a + b + 2c = 22}. Then n(A) is equal to:
- All 19 on Distribution Problems ›