How many ways can 6 items be arranged in 4 boxes with restrictions?

  • Thread starter Thread starter spaghetti3451
  • Start date Start date
  • Tags Tags
    Permutation
AI Thread Summary
The discussion focuses on arranging 9 books, including 4 by Shakespeare, 2 by Dickens, and 3 by Conrad, with the condition that the 3 Conrad books must be separated. The total arrangements without restrictions is calculated as 9!. To account for the restrictions, the approach involves subtracting the arrangements where the Conrad books are together or where only 2 are together. The challenge lies in determining the arrangements when 2 Conrad books are clustered, as their position affects the available spaces for the third. The final answer expected is 151,200, but the calculations are proving difficult for some participants.
spaghetti3451
Messages
1,311
Reaction score
31

Homework Statement



4 books by Shakespeare, 2 books are Dickens and 3 by Conrad are chosen for the problem. The question is to find the number of ways in which the books can be arranged s.t. the 3 Conrad books are separated.

Homework Equations



The Attempt at a Solution



n(C separated) = n(w/o any restrictions) - n(3 C's together) - n(2 C's together).

n(w/o any restrictions) = 9! because there are 9 items to be put in 9 places.

n(3 C's together) = 3! * 7! because the 3 C's form a cluster: 3! for items within the cluster and 7! for all the items, considering the cluster as an item.

n(2 C's together) = ... This is the tricky one as only 2 C's form a cluster and the number of places available for the other C depends on whether the cluster is at either of the edges of not.


The answer is supposed to be 151,200 (from the back of the textbook), but I can't happen to get it.
 
Physics news on Phys.org
hi failexam! :smile:
failexam said:
n(3 C's together) = 3! * 7! because the 3 C's form a cluster: 3! for items within the cluster and 7! for all the items, considering the cluster as an item.

good! :smile:

but probably easier to start again, this way …

the three conrad books have 4 "boxes" between and around them …

how many ways to fit 6 items into 4 boxes, with only the outside boxes allowed to be empty?
 
tiny-tim said:
The three conrad books have 4 "boxes" between and around them … how many ways to fit 6 items into 4 boxes, with only the outside boxes allowed to be empty?
Note the middle 2 boxes have to have at least 1 book each, so that leaves the remaining 4 books to be placed in the 4 boxes in any pattern.
 
Back
Top