taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.6-5

Exercise 1.2.6-5

proved in Lean solution written

Rating05
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Explain why the digits of 11411^4 are the entries of row 44 of Pascal's triangle.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Write 11=10+111 = 10 + 1 and use the binomial theorem, eq. 1.2.6(13).

Solution

Show the solution

By the binomial theorem, 114=(10+1)4=∑k(4k)10k=1+4⋅10+6⋅102+4⋅103+1⋅104.11^4 = (10+1)^4 = \sum_k \binom{4}{k} 10^k = 1 + 4 \cdot 10 + 6 \cdot 10^2 + 4 \cdot 10^3 + 1 \cdot 10^4. Row 44 of the triangle is 1,4,6,4,11, 4, 6, 4, 1. Each entry is less than 1010, so the right side is already a base-1010 numeral with these digits and no carry occurs. Read from the top power, the digits are 1,4,6,4,11, 4, 6, 4, 1, and 114=1464111^4 = 14641.

Check

112=12111^2 = 121 and 1212=14641121^2 = 14641. Row 22 is 1,2,11, 2, 1, which gives 121=112121 = 11^2 in the same way.

Remarks

The idea breaks at 11511^5: row 55 is 1,5,10,10,5,11, 5, 10, 10, 5, 1 and the entry 1010 is not a digit. Then the carries give 161051161051. The row of 11n11^n stays a numeral only for n≤4n \le 4. Use base 100100 or a larger base to see the rows for larger nn.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.