Super Strong Eggs -- III

Logic Level 4

You are given just three eggs, and access to a 100-storey building. All 3 eggs are identical.

The aim is to find out the highest floor from which an egg will not break when dropped out of a window from that floor. If an egg is dropped and does not break, it is undamaged and can be dropped again. However, once an egg is broken, that’s it for that egg.

If an egg breaks when dropped from floor n, then it would also have broken from any floor above that. If an egg survives a fall, then it will survive any fall shorter than that.

Adopting best strategy what is the absolute minimum number of egg drops you need to reach the solution given any and every possible scenario?

Details and Assumptions :

  • Issues related to terminal velocity, potential energy or wind resistance are immaterial.
You can solve Super Strong Eggs --I and Super Strong Eggs II .


The answer is 9.

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.

3 solutions

Takeda Shigenori
Mar 26, 2014

For super strong eggs II we started from n, then n-1, n-2, n-3 and so on.

For this one, since this has three eggs, we do it somehow like powers of two, like this: n, n-1, n-1-2, n-1-2-3, so on.

n=100, so the first egg drops at 16,44,65,80,90,96,99,100

If the egg breaks at 16th floor, using the method to solve super strong eggs II, we need 7 drops 44th floor, 9 drops 65th floor, 9 drops All others, 9 drops 100th floor, 8 drops

So the answer is 9 \boxed{9}

You may ask why will all the other floors require 9 drops, and this is because the numbers we minus.

First think if it breaks at 99th floor. We dropped 7 times. We still have two more levels, 97 and 98. Drop at those 2 floors. Then think if it breaks at 96th floor. We dropped 6 times. We have 5 levels. Using the method to solve super strong eggs II, we need to drop 3 times. 6+3=9 Then think if it breaks at 90th floor. We dropped 5 times. We have 9 levels. Using the method to solve super strong eggs II, we need to drop 4 times. 5+4=9

See the pattern? For all the levels, there are nine drops since we minus triangular numbers. And we're done.

If we have four eggs, we have to minus 1, 1+(1+2), 1+(1+2)+(1+2+3), ... from the total number of floors. If we have five, we have to minus 1, 1+[1+(1+2)], 1+[1+(1+2)]+[1+(1+2)+(1+2+3)], ... And so on

Takeda Shigenori - 7 years, 2 months ago

How are you writing those sequences for any no. of eggs? I didn't get it. Is there any general sequence you can define if the no. of eggs is say 'X'? Please help me coz my calculations were cumbersome. I solved it but even I don't know how. Explain the solution a little more (that sequence part only)

Vinay Shikhar - 7 years, 2 months ago

In a possible scenario were I drop an egg with one hand and catch it with the other hand, without any egg drop I can get the solution.Therefore adopting best strategy the absolute minimum number of egg drops you need to reach the solution given any and every possible scenario is 0.

Joseph Amal C X - 5 years, 12 months ago
Satyen Nabar
Mar 22, 2014

Well this is the way I went about solving this. Keeping the principle of reducing balance in mind at higher level floors i worked it backwards. Starting with 2 eggs broken leaving floors 1-7 to try out step by step with the third egg, Floor 8 is where I start and work upwards to find out which floor my first egg drop should be. It turns out to be floor 36.

A) First egg drop from floor 36--- if egg breaks -- drop from 8 ( if breaks check 1-7 step by step) --if not-- drop from 15( if breaks chk 9-14 step by step) --- if not-- 21( if breaks chk 16-20)---If not-- 26 (if breaks chk 22-25)--if not --30( if breaks chk 27-29)--if not drop from 33 (if breaks chk 31, 32) If not chk 34, 35.

If first egg does not break when dropped from 36-----

B)Drop the first egg again from floor 64--- If breaks drop from floor 43(if breaks chk 37-42) -- if not -- drop from 49 ( if breaks chk 44-48) -- if not -- drop from 54(if breaks chk 50-53) -- if not -- 58 ( if breaks chk 55-57)-- if not -- 61( if breaks chk 59, 60.) If not chk 62,63.

If first egg didnt break when dropped from 64------

C) Drop first egg from 85--- If breaks drop second egg from 70(if breaks chk 65-69)-- if not drop from 75 (if breaks chk 71-74)-- if not -- 79( if breaks chk 76-78) if not-- 82( if breaks 80,81) If not chk 83, 84.

If first egg didnt break when dropped from floor 85----

D) Drop first egg from floor 100 (If doesnt break-- experiment over)-- If breaks -- drop second egg from floor 90( if breaks chk 86-89) -- if not -- 94( if breaks chk 91-93) -- if not -- 97 ( if breaks chk 95, 96) if not check 98, 99.

9 drops total in any and every scenario. I am sure some recursive formula could be whipped out given any number of floors and eggs by a good computer scientist.

we can solve it in 7 steps....first drop the egg fro 50th floor which reduces our search to 50 instead of 100. Now by similar argument as made in previous ques ( with 2 eggs) we have n (n+1)/2>=50 i.e n>= 6.588 n=7; Isn't this true?

Simon Samuel - 7 years, 2 months ago

can u make it more clear ?

Vighnesh Raut - 7 years, 2 months ago

Dear Vighnesh I have tried my best. Ideally it would be easier explaining with a flowchart. If you tried to solve super strong eggs 1and 2 prior to trying this one, it may become clearer.

Satyen Nabar - 7 years, 2 months ago

well u see ten somewhat lies between seven and fourteen so enter nine ten and eleven

Kaustubh Miglani - 5 years, 7 months ago
Parker Prathyoom
Jun 13, 2015

let f(n)= sum of n+ve integers frm 1 to n, let x be some +ve integer, then the best way to split is to follow this, f(x)+f(x-1)+f(x-2)....+f(1) > 100 then the minimum value of n is 8. so be dropping the another egg at the points of the function f(8), v end up with 9 drops

another solution: if u solved the other 2 problems, u definitely know that the answer will be less than 12 and greater than 7, so it can only be 8,9,10,11. as u have 3 chances easy solve :p

PS:I not so good at explaining

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...