1

I heard from a video that there is a theorem that proves that exists a power of two wghose leading or last digits can be any sequence of digits for example your telephone number. Can anyone point me to this theorem please?

1 Answers1

1

You can stipulate the leading decimal digits of a number $n$ by setting limits on the fractional part of $\log_{10}n$. For instance, the leading digits of $n$ are $142857$ if

$\lfloor\log_{10}142857\rfloor \le \lfloor\log_{10}n\rfloor < \lfloor\log_{10}142858\rfloor$

To find an integer $k$ such that the leading digits of $2^k$ are $142857$, we want

$\lfloor\log_{10}142857\rfloor \le \lfloor k\log_{10}2\rfloor < \lfloor\log_{10}142858\rfloor$

$\log_{10}2$ is irrational (see e.g. this StackExchange answer), so such a $k$ always exists $-$ see this Wikipedia article.

TonyK
  • 64,559