Logo
Published on

The Pigeonhole Principle and Leading Digits

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

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): 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): 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): 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): 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.