Saturday, 6 September 2014

mathematics - Two button calculator


A calculator has only 2 buttons. The first multiplies the current value by 2, the second divides it by 3 without a remainder (so 8 becomes 2). Starting with 1 what is the least number of presses you need to reach 9?


Here is a similar question: Three button calculator




No comments:

Post a Comment