JEE Main 2022 · 27 June · morning · Numerical answer · +4 / −0
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 _____________.
Answer and solution
Answer 56
Solution
Maths sir · 4 steps
Fix the 5 red cubes first, pay the 2 compulsory blues into each inner gap, then share out what is left.
- Set up gaps. There are 5 red and 11 blue cubes. Five reds in a row make 6 gaps for the blues: one before the first red, 4 between reds, and one after the last red. Let them hold x₀, x₁, x₂, x₃, x₄, x₅ blue cubes.
- Apply the condition. The 4 inner gaps need at least 2 blues each, so x₁, x₂, x₃, x₄ ≥ 2. The two end gaps can be empty. Put 2 blues in each inner gap first. That uses 8 blues and leaves 3 to place freely.
y₀ + y₁ + y₂ + y₃ + y₄ + y₅ = 3, yᵢ ≥ 0
- Count solutions. Sharing 3 identical blues among 6 gaps gives C(3+6-1, 6-1) = C(8, 5) = 56 ways. All cubes of one colour are identical, so each solution is exactly one arrangement.
- So. The number of arrangements is 56.
The common slip: 20. Sharing the 3 leftover blues among only the 4 inner gaps, and forgetting the two end gaps, gives C(6, 3) = 20, not 56.
The idea to keep. For a rule like at least k between them, place the separating objects first and fill every gap with its minimum. Then share the leftovers freely with C(n+r-1, r-1).
Answer from the NTA final answer key. Solution by PrepWiser.