Raising and Counting

Number Theory Level pending

If the last 6 rightmost digits of 2 n 2^n is 123456, find the smallest possible value of n n ?


The answer is 11328.

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

Giorgos K.
Jan 3, 2018

Mathematica

x = 20; While[PowerMod[2, x, 10^6] != 123456, x++]; x

11328

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...