A probability problem by Alejandro Castillo

Given a set A A has n n elements, namely { 1 , 2 , 3 , , n } \{1,2,3, \ldots , n \} . If you want to divide this set in 12 subsets (no empty) such that the sum of each subset of A A is the same, what is the smallest possible value of n n ?


The answer is 23.

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.

2 solutions

The sum of the elements of the initial set A A , is n ( n + 1 ) 2 \frac { n(n+1) }{ 2 } , so we're looking for the least possible positive integer vale of n n , such that n ( n + 1 ) 2 \frac { n(n+1) }{ 2 } is divisible by 12 12 . thus, 24 n ( n + 1 ) 24|n(n+1) . Note that the sum of each subset must be equal or greater than n n (the greatest element of A A ), cause n n must be included in a subset.

As n n and n + 1 n+1 are consecutive integers, they will have distinct parity, hence, 8 n 8|n or 8 ( n + 1 ) 8|(n+1) , and, 3 n 3|n or 3 ( n + 1 ) 3|(n+1) . From here, we can do trial and error in order to find the value of n n . Easily, we can discard n = 7 , 16 n=7,16 . If n = 8 n=8 or n = 15 n=15 , then the sum of the elements of each subset is 3 3 and 10 10 , that are less than 8 8 and 15 15 , respectively. If n = 23 n=23 , we can form the subsets as follows:

{ 1 , 22 } , { 2 , 21 } , . . . , { 11 , 12 } , { 23 } \left\{ 1,22 \right\} ,\left\{ 2,21 \right\} ,...,\left\{ 11,12 \right\} ,\left\{ 23 \right\} .

n = 24 n=24 is a possible value, but it's not the least possible value.

Thanks! Great solution. I originally assumed the question was asking for only disjoint subsets, in which case you could immediately rule out n < 12.

Daniel Fryer - 5 years ago

Sorry but I don't see the solution there...

Log in to reply

Ah, I came back and saw that it's 23.

David Ortiz
Jun 12, 2016

If you have the set {1,2, . . .n} and you group the elements in pairs starting from opposite ends----{1, n}, {2, n-1}, {3, n-2}, ect----you get sets with the same sum of their elements. So to get 12 subsets, I originally made n=24, but then realized that I could reduce that by 1 if I let the largest number be in a set by itself instead of a pair. Thus, I got n=23 with the set {1,22}, {2,21}, . . ., and {23}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...