The Pigeonhole Principle and Leading Digits

#hsc-maths#extension-2#pigeonhole-principle#logarithms#hard

One of the most enchanting aspects of the Extension 2 syllabus is how the humble Pigeonhole Principle can be paired with logarithms to answer questions that feel almost magical—like proving a power of 2 must someday begin with the digits 2025. In this problem we’ll journey through fractional parts, irrational rotations, and a continuous pigeonhole argument to build a rigorous proof from the ground up.

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): We begin by writing 2M2^M in scientific notation. Because the number starts with the digits 2025, its significant part cc must satisfy 2.025c<2.0262.025 \le c < 2.026. So 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 base‑10 logarithms of both sides 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): We prove this by contradiction, a natural tool when a statement about irrationality is involved. 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}.

    The numerator is an integer and the denominator is a non‑zero integer, so this forces α\alpha to be rational—contradicting the premise. Thus, the fractional parts must be distinct.

  • Part (iii): We now partition the continuous interval [0,1)[0,1) into NN equal subintervals of width 1/N1/N. From part (ii), the N+1N+1 values {0},{α},,{Nα}\{0\}, \{\alpha\}, \dots, \{N\alpha\} are strictly distinct. By the Pigeonhole Principle, with N+1N+1 pigeons and NN holes, at least two of these fractional parts, say {iα}\{i\alpha\} and {jα}\{j\alpha\} with i>ji>j, must fall in the same subinterval. Hence 0<{iα}{jα}<1/N0 < \{i\alpha\} - \{j\alpha\} < 1/N. Now observe that

    {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), so it is exactly the fractional part {(ij)α}\{(i-j)\alpha\}. Setting k=ijk = i-j (where 0<kN0 < k \le N) gives 0<{kα}<1/N0 < \{k\alpha\} < 1/N.

  • Part (iv): We now bring all the earlier pieces together. Since δ=log102.026log102.025\delta = \log_{10} 2.026 - \log_{10} 2.025 is a positive number, we can choose an integer NN large enough that 1/N<δ1/N < \delta. From part (iii) we obtain a positive integer kNk \le N such that the “step size” s={kα}s = \{k\alpha\} satisfies 0<s<δ0 < s < \delta. Consider the multiples of this step: s,2s,3s,s, 2s, 3s, \dots. Because ss is strictly smaller than the width δ\delta of the target interval [log102.025,log102.026)[\log_{10} 2.025, \,\log_{10} 2.026), some multiple psps must eventually fall inside that interval. Consequently {pkα}=ps\{pk\alpha\} = ps satisfies the bounds required by part (i). Letting M=pkM = pk proves the existence of a power of 22 starting with 20252025.


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.

Written by Vu Hung Nguyen

Mathematics Educator · LinkedIn · About