# Worm and Leaves Puzzle

## Solve the Worm and leaves Puzzle

When a hungry worm reaches a tree, it consumes the leaves in order. The premise, rules, and objective of the worm and leaves puzzle are given below:-

• Premise – DAY 1: The worm consumes one leaf.
• TWICE(DAY 1)= 2 leaves on day 2
• TWICE(DAY 2)=4 leaves on day 3
• DAY 4: DOUBLE (DAY 3) = 8 leaves, and so forth…. (up to 30 days)
• Rules – The above eating pattern continues for 30 days, and on the 30th day, all of the leaves are consumed.
• Objective – When did the worm eat exactly half of the total number of leaves?

### Solution for the Total Number of Leaves

Note – Please try again if the correct answer is 29.

To make the math easier, we’ll use a total period of 4 days rather than 30 days.

• DAY ONE: The worm consumes one leaf.
• The worm consumes two leaves on 2nd day.
• The worm consumes 4 leaves 3rd day.
• The worm consumes 8 leaves on 4th day.
• The worm can finish a total of 7 leaves by the end of day 3.
• As a result, only half of the total number of leaves on the tree can be completed on day 4, the final day.
• As a result, the overall time length of the supplied riddle is 30 days.

### Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

## Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

## Checkout list of all the video courses in PrepInsta Prime Subscription

• Fox, Duck and Circular Pond
• Caves and a thief
• Couples crossing the river
• Distance walked to office
• Number game to save life Answer
• Classic lateral thinking Answer
• Finding the injection for anesthesia
• Toggling Prison cell
• Tic Tac Toe
• Magical Matrix
• Last Palindrome Date
• Number of chocolates in a bag
• Puzzle on the idler
• Chain Linking