How many ways can n books be placed on k distinguishable shelves?
a) if the books are indistinguishable copies of the same title?
b) if no two books are the same, and the positions of the books on the shelves matter?
How many ways are there to deal bands of five cards to each of six players from a deck containing 48 different cards?
How many ways are there to select three unordered elements from a set with five elements when repetition is allowed?
There are 2504 computer science students at a school. Of these, 1876 have taken a course in Java, 999 have taken a course in Linux, and 345 have taken a course in C. Further, 876 have taken courses in both Java and Linux, 231 have taken courses in both Linux and C, and 290 have taken courses in both Java and C. If 189 of these students have taken courses in Linux, Java and C, how many of these 2504 students have not taken a course in any of these three programming languages?© BrainMass Inc. brainmass.com October 15, 2018, 8:27 pm ad1c9bdddf - https://brainmass.com/math/discrete-math/505180
a. If the books are indistinguishable copies of the same title?
There are k distinguishable shelves and n books are to be placed in them.
If the shelves are represented by space between two sticks | | and books are represented by *, then
| | * * * | | * * | | | ..... | (Total of k + 1 sticks for k shelves and n *s for n books)
Assume that the first and last sticks are fixed. Hence there are (k+1-2) + n items between the first and last sticks. Out of these n books have to be placed. Hence the number of ways = (k + 1 - 2 + n) C (n)
= (n + k - 1) C (n)
b. If no two books are the same, and the positions on the shelves matter?
There are k distinguishable shelves and n distinguishable books.
For each book, there are k possible ...
Clear explanation and explanation has been provided for the attached questions.