Leading Digits of Powers of Two

#hsc-maths#proofs#medium

This problem weaves together the Pigeonhole Principle, fractional parts, and logarithmic inequalities to demonstrate that an irrational multiple can visit any desired neighbourhood. For HSC Mathematics Extension students, it’s a perfect illustration of how discrete combinatorics (pigeonhole) can control continuous behaviour, and it reinforces the Proofs topic with a creative application of logarithms. By working through each step, you’ll uncover the logic behind “leading‑digit” problems and gain a powerful technique for proving existence without constructing explicit values.

Problem Statement

The Pigeonhole Principle and Leading Digits

For any real number xx, the fractional part of xx is denoted by {x}\{x\} and is defined as {x}=xx\{x\} = x - \lfloor x \rfloor, where x\lfloor x \rfloor is the greatest integer less than or equal to xx. Note that 0{x}<10 \le \{x\} < 1.

For example, {3.14}=0.14\{3.14\} = 0.14, {2026}=0\{2026\} = 0.

  • [(i)] Show that for any positive integer MM, the ordinary decimal representation of 2M2^M begins with the digits 20252025 (i.e., 2M=20252^M = 2025\dots) if and only if:
log102.025{Mlog102}<log102.026\log_{10} 2.025 \le \{M \log_{10} 2\} < \log_{10} 2.026
  • [(ii)] Let α\alpha be an irrational number. Prove that for any two distinct integers mm and nn, the fractional parts {mα}\{m\alpha\} and {nα}\{n\alpha\} must be strictly distinct.
  • [(iii)] Let NN be a positive integer. By dividing the interval [0,1)[0,1) into NN equal subintervals, use the Pigeonhole Principle to prove that there exists a positive integer kNk \le N such that:
0<{kα}<1N0 < \{k\alpha\} < \frac{1}{N}
  • [(iv)] Given that α=log102\alpha = \log_{10} 2 is an irrational number, let
δ=log102.026log102.025.\delta = \log_{10} 2.026 - \log_{10} 2.025.

By choosing an integer NN such that 1N<δ\frac{1}{N} < \delta, or otherwise, deduce that there exists at least one positive integer MM such that 2M2^M begins with the digits 20252025.


Hints

  • (i) Write 2M2^M in scientific notation: 2M=c×10K2^M = c \times 10^K. If the number starts with 2025, what is cc bounded between? Take the base-10 logarithm.
  • (ii) Proof by contradiction. Assume {mα}={nα}\{m\alpha\} = \{n\alpha\}. Expand using the definition {x}=xx\{x\} = x - \lfloor x \rfloor and isolate α\alpha.
  • (iii) Consider the N+1N+1 fractional parts {0},{α},{2α},,{Nα}\{0\}, \{\alpha\}, \{2\alpha\}, \dots, \{N\alpha\}. Place these pigeons into the NN holes (subintervals).
  • (iv) Think of the interval as a target of width δ\delta. Part (iii) guarantees a step size {kα}\{k\alpha\} strictly smaller than δ\delta. Can consecutive steps jump over the target without landing inside it?

Solutions

Part (i): To connect the leading digits with a fractional part, we first express 2M2^M in scientific notation so that the coefficient reveals the digits. 2M2^M begins with 2025 if and only if 2M=c×10K2^M = c \times 10^K for some integer K0K \ge 0 and 2.025c<2.0262.025 \le c < 2.026. Taking logarithms yields Mlog102=K+log10cM \log_{10} 2 = K + \log_{10} c. Since 0log10c<10 \le \log_{10} c < 1, we must have K=Mlog102K = \lfloor M \log_{10} 2 \rfloor and log10c={Mlog102}\log_{10} c = \{M \log_{10} 2\}. Substituting this into the inequality for cc yields the required result.

Part (ii): Because α\alpha is irrational, it cannot be expressed as a fraction of integers; so if two multiples were to have the same fractional part, we would derive a rational representation for α\alpha, which is impossible. Assume {mα}={nα}\{m\alpha\} = \{n\alpha\} for integers mnm \ne n. Then mαmα=nαnαm\alpha - \lfloor m\alpha \rfloor = n\alpha - \lfloor n\alpha \rfloor, which implies

α=mαnαmn.\alpha = \frac{\lfloor m\alpha \rfloor - \lfloor n\alpha \rfloor}{m - n}.

Since the numerator is an integer and the denominator is a non-zero integer, this forces α\alpha to be rational, contradicting the premise. Thus, the fractional parts are distinct.

Part (iii): Here we trap a difference of fractional parts inside a small subinterval by letting the pigeonhole principle clash with distinctness. Divide [0,1)[0,1) into NN equal intervals of width 1/N1/N. By (ii), the N+1N+1 values {0},{α},,{Nα}\{0\}, \{\alpha\}, \dots, \{N\alpha\} are strictly distinct. By the Pigeonhole Principle, two values {iα}>{jα}\{i\alpha\} > \{j\alpha\} must fall in the same interval. Thus, 0<{iα}{jα}<1/N0 < \{i\alpha\} - \{j\alpha\} < 1/N. Since

{iα}{jα}=(ij)α(iαjα)\{i\alpha\} - \{j\alpha\} = (i-j)\alpha - (\lfloor i\alpha \rfloor - \lfloor j\alpha \rfloor)

lies in (0,1)(0,1), it is exactly {(ij)α}\{(i-j)\alpha\}. Let k=ijk = i-j (where 0<kN0 < k \le N) to obtain 0<{kα}<1/N0 < \{k\alpha\} < 1/N.

Part (iv): Now we have a step size s={kα}s = \{k\alpha\} that is strictly smaller than the width δ\delta of our target interval [log102.025,log102.026)[\log_{10} 2.025, \log_{10} 2.026). By repeatedly adding ss, we can gradually walk across the unit interval without skipping the target. Choose NN such that 1/N<δ1/N < \delta. From (iii), let our step size be s={kα}s = \{k\alpha\}, noting 0<s<δ0 < s < \delta. Consider the sequence of multiples s,2s,3s,s, 2s, 3s, \dots. Because ss is strictly smaller than the target interval width δ\delta, a multiple psps must eventually land inside [log102.025,log102.026)[0,1)[\log_{10} 2.025, \log_{10} 2.026) \subset [0,1). Therefore, {pkα}=ps\{pk\alpha\} = ps satisfies the bounds. By letting M=pkM = pk, we satisfy the condition from (i).


Takeaways

  • Kronecker's Theorem: This problem is a guided proof demonstrating that the orbit of an irrational rotation is dense. It guarantees that by doubling a number enough times, you can eventually generate a power of 2 that starts with any sequence of digits you desire.
  • The Continuous Pigeonhole: By dividing a continuous number line into physical subintervals, we can force infinite irrational sequences to behave predictably.

Further Readings

If you found this proof interesting, be sure to check out these relevant HSC booklets to sharpen your reasoning skills: HSC Proofs, HSC Trigonometry, HSC Distributions

Written by Vu Hung Nguyen

Mathematics Educator · LinkedIn · About