The Marble Conundrum

Rajiv has 1000 marbles. He wants to store them separately in different bags, so that each bag contains a different number of marbles. What is the maximum number of bags that Rajiv will use?

Details and assumptions

Rajiv will not place a bag within another bag.

Each bag that is used will contain at least 1 marble. Empty bags are not counted.


The answer is 44.

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.

1 solution

Arron Kau Staff
May 13, 2014

Suppose Rajiv uses n > 0 n>0 bags. Let the number of marbles in each bag be m 1 , m 2 , m n m_1, m_2, \ldots m_n . Reorder the numbers so that they are in strictly increasing order (since the number of marbles is distinct from each other), to obtain 1 m 1 < m 2 < m 3 < m n 1 \leq m_1 < m_2 < m_3 < \ldots m_n . Since each of these numbers are integers, we can conclude (inductively) that m i i m_i \geq i . Hence, we have

1000 = m 1 + m 2 + + m n 1 + 2 + + n = n ( n + 1 ) 2 . 1000 = m_1 + m_2 + \ldots + m_n \geq 1 + 2 + \ldots + n = \frac {n(n+1)}{2}.

Since 44 × 45 = 1980 44 \times 45 = 1980 and 45 × 46 = 2070 45 \times 46 = 2070 , this gives that n 44 n \leq 44 (since n n is an integer).

To see that 44 44 bags is possible, we have m 1 = 1 , m 2 = 2 , m 43 = 43 m_1 = 1, m_2 =2 , \ldots m_{43} = 43 , and then place the remaining 54 54 marbles in the last bag. Hence, the maximum number of bags that Rajiv will use is 44 44 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...