Illustration for riddle #7, “Two Eggs Problem”, drawn by Ines

#7 Medium

Two Eggs Problem

You have 2 identical eggs and a 100-storey building. From a certain floor upwards, an egg dropped out of the window breaks; below that floor, it survives. A broken egg cannot be used again. What is the best way to find that floor for certain, with as few drops as possible, even in the worst case?

An egg that survives can be reused as often as you like, and drops may be made from any floor in any order. Going up one floor at a time costs 100 drops, testing every 10th floor costs 19 at worst: the right spacing is not a constant one.

Answer in the comments

Need a hint?

Triangular numbers