0%

Problem 686


Problem 686


Powers of Two

27=128 is the first power of two whose leading digits are “12”.
The next power of two whose leading digits are “12” is 280.

Define p(L,n) to be the nth-smallest value of j such that the base 10 representation of 2j begins with the digits of L.
So p(12,1)=7 and p(12,2)=80.

You are also given that p(123,45)=12710.

Find p(123,678910).


二的幂

在二的幂中,第一个拥有前导数字“12”的是27=128。下一个拥有前导数字“12”的二的幂是280

p(L,n)为第n个使得10进制表示的2j拥有前导数字L的数j
因此p(12,1)=7p(12,2)=80

已知p(123,45)=12710

p(123,678910)


Gitalking ...