Consider the set S = { B , R , I , L , A , N , T } . How many ways are there for us to partition the set into any number of non empty disjoint subsets whose Union is S ?.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The number of ways of partitioning a set of n distinct elements is the Bell number B n . From the sequence given here we see that the answer to this question is B 7 = 8 7 7 .
You're welcome! =D
Log in to reply
Hahaha. Now that you and Caleb have introduced me to these numbers I see them popping up everywhere. :D
Solve using 'Atkins array'
That is
a
a , 2 a
2 a , 3 a . 5 a
5 a , 7 a , 1 0 a , 1 5 a
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
So, in all cases we have a = 1 and the First element of(which is same as the last element of ( n − 1 ) t h ) row n t h row represents A n − 1 where A n − 1 is the number of partitions of set (containg n distinct elements) into disjoint subsets whose union is A
So we have the atkins array as
1 = A 0
1 , 2 = A 1
2 , 3 , 5 = A 2
5 , 7 , 1 0 , 1 5 = A 3
1 5 , 2 0 , 2 7 , 3 7 , 5 2 = A 4
5 2 , 6 7 , 8 7 , 1 1 4 , 1 5 1 , 2 0 3 = A 5
2 0 3 , 2 5 5 , 3 2 2 , 4 0 9 , 5 2 3 , 6 7 4 , 8 7 7 = A 6
SO 8 7 7 is the answer, As the first element of 8 t h is same as last element of 7 t h row.
Thanks to AGL sir 8-).
Log in to reply
Thanks to AGL sir for the question too XD
Neat pattern (like Pascal's triangle) to find Bell numbers.
There is no direct solution yet. We can simply calculate the all possible configurations of splitting, see the picture:
The rows are reading as follows: the number of elements at every subset (italic). The bold number is the number of possible configuration.
Just for example the row H ( 3 , 3 , 1 ) is calculated as follow: 2 ! ( 3 7 ) ∗ ( 3 7 − 3 ) = 7 0
We need to divide by the possible rearrange of subsets of 3 .
Repeating for every configuration we have the total result: 8 7 7
Problem Loading...
Note Loading...
Set Loading...
Let P n , m denote the number of ways of partitioning n numbers in m non-empty and disjoint subsets. Clearly, we have P n , 1 = 1 , ∀ n ≥ 1 , ( 1 ) Now consider adding a new element to an existing partition with n − 1 elements and m subsets. This new element can go into any one of the previous m subsets (thus preserving the number of subsets ) or form a subset of its own (and hence increasing the number of subsets from m to m + 1 ). Thus, we have the following recursions : P n . m = m P n − 1 , m + P n − 1 , m − 1 , if m ≤ n and, P n , m = 0 if m > n ( 2 ) The recursions (1) and (2) can be solved easily. In our problem, we have n = 7 and we require ∑ m = 1 7 P 7 , m , which is computed to be 8 7 7 .