C C++ Java Data Structure Python JavaScript CSS Ajax PL/SQL PHP Puzzles C programs C++ programs Java programs

Home » Puzzles

Puzzle 8) Birds and Branches

Submitted by Amit Shukla, on August 09, 2017

Puzzle

Some birds settle on the branch of tree. First, they sat in a manner that each bird sit on one branch. That means each branch contain a single bird. In this case a single bird left to sit or a single bird don’t get space to sit. Next day birds are sitting in a manner that two birds were sitting in a single branch. In this day a branch remains empty. Now you have to find out the minimum number of birds and branches.


Important points of puzzle:

  1. Some birds settle on the branch of tree.
  2. First, they sat in a manner that each bird sits in a single branch.
  3. In this manner one single bird left to sit.
  4. On next day they sit in a manner that on each branch two bird sits.
  5. In this manner one branch remains empty.
  6. Now you have to find the minimum number if birds and minimum number of branch.

Answer

4 Birds and 3 Branches.


Reason

The reason behind this is that when each bird sit on a single branch then one extra bird left. When they sat two to a branch then one extra branch left. If there were 3 branches and 4 birds, then if each bird sit in single branch then one bird left and if two birds were sit on a single branch then one branch left. Hence the correct answer of this problem is 4 Birds and 3 Branches.









COMMENTS