Question 1
Logic · Arithmetic BDMO 2024 National
In a restaurant there are 112 eggs and 2 people. The eggs cannot be eaten directly. There are 2 special buttons for this, button and button . If button is pressed, then the number of eggs get reduced to . ( is the quotient when the number of eggs is divided by the number of people. That means, if we press the button at the beginning, then the value of will be . Be careful if the quotient is in fraction, you have to take the integer value. Example: in the case of , the value of will be 2) Again, if the button is pressed, the number of people gets increased by 1. You can press button or as many times as you want. You can use both buttons and or either button if you want. What is the minimum number of button presses required to make the number of eggs zero (0)?