Special Calculator

My calculator is special. It has 2 functions, a x2, and a +3.

The calculator starts with the number 1 everytime I power it on.

I wish to get the number 2016 by using the 2 functions in any order.

What is the least number of steps to get from 1 to 2016?

For example, the least number of steps to get from 1 to 8 is 2. (+3, x2)

11 It is impossible to get from 1 to 2016 12 13

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.

1 solution

Jordan Cahn
Nov 28, 2018

It is impossible to get to 2016 since it is impossible to get to any integer divisible by 3. We start with 1, which is not divisible by 3. Adding 3 to an integer that is not divisible by three cannot make it divisible by 3. Similarly, multiplying by 2 cannot make an integer divisible by 3 if it wasn't already.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...