All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Bananas III (Posted on 2006-12-22) Difficulty: 3 of 5
22 monkeys have together 8888 bananas. For each monkey with more than one banana, there is another monkey with fewer, but at least half as many bananas. Prove that the monkeys can be split in two groups with 4444 bananas each.

  Submitted by JLo    
Rating: 4.0000 (1 votes)
Solution: (Hide)
We prove the following statement which is slightly stronger and slightly more general:

Let a1=1,a2,a3,.. be a sequence of positive integers such that an<=a<=2a for all n. Then for each n, every integer between 1 and a1+..+an can be represented as the sum of some ai's (with one or more summands) with 1<=i<=n whereby each a shows up at most once in the sum.

For our monkey problem, we can disregard all monkeys without bananas because they can be assigned to either group. If we sort the other monkeys by number of bananas, we get an integer sequence as described above. Therefore, for each number between 1 and 8888 there is a group of monkeys having this exact amount. For the monkey problem, we simply chose the number 4444.

Proof: First we show that for each n

(1) an+1<=1+a+..+an

This is obvious for n=0 (because a1=1<=1) and n=1 (because a<=2a=2=1+a1) For n=2,3.. it follows per induction because

an+2<=2a<=a+1+a1+..+an

We do the main proof also by induction over n. It is clear for n=1. Now assume it is true for some n. Then S1:={1,..,a1+..+an} is the set of all sums of a1,..,an. By adding an+1 to all those sums, we can obtain the sums S2:={1+an+1,..,a1+..+an+an+1}. Because of (1), the only "gap" between the largest member of S1 and the smallest member of S2 is an+1. But an+1 itself is a one-summand sum and therefore fills this gap.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
re(2): generalizationArt M2006-12-23 15:06:54
Some Thoughtsre: generalizationFederico Kereki2006-12-23 08:27:59
generalizationArt M2006-12-23 03:57:36
SolutionSeparating the monkeysGamer2006-12-22 16:09:58
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information