edited by
7,975 views
33 votes
33 votes

A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetitions.

  1. What is the number of multisets of size $4$ that can be constructed from n distinct elements so that at least one element occurs exactly twice?
  2. How many multisets can be constructed from n distinct elements? 
edited by

6 Answers

0 votes
0 votes

a.
no of the multiset of length 4 such that at least one element is repeated.
n^4 - n(n-1)(n-2)(n-3)
 
b.
length 0 :nC0
length 1 : nC1
lenth 2 : nC1+nC2
.
.
.
lenth n :nC1+nC2+........  nCn

total = 1+(n)nC1+(n-1)nC2+..........+nCn
        

0 votes
0 votes

The question says: “ ...at least one element occurs exactly twice.”

Case 1: one element repeat twice and the other two elements are distinct, as in {1,1,2,3}

Here we choose one element from n elements for repetition

and rest two distinct elements from the remaining (n-1) elements

Hence the number of ways: $\binom{n}{1}.\binom{n-1}{2}$

Case 2: two elements repeat twice, as in {1,1,2,2}

Here we choose two distinct elements from n elements for repetition

Hence the number of ways : $\binom{n}{2}$

By the fundamental principle of counting, the required answer is $\binom{n}{1}.\binom{n-1}{2} +\binom{n}{2}$

 

Related questions

39 votes
39 votes
6 answers
1
Kathleen asked Sep 14, 2014
10,056 views
The minimum number of cards to be dealt from an arbitrarily shuffled deck of $52$ cards to guarantee that three cards are from same suit is$3$$8$$9$$12$