๐Ÿ  Home โ€บ ๐Ÿ”บ Pascal's Triangle โ€บ Lesson 1

๐Ÿš€ Meet the Triangle โ€” and Its Secret Indexing System

๐Ÿ“– Lesson 1 of 10

๐Ÿ“Œ Key ideas of this section

Every entry is the SUM of the two entries above it (Pascal's rule).
Edge entries have only one parent, so they are always 1.
Rows AND entries are numbered starting from 0 โ€” and that tiny
choice makes every formula in this lesson come out clean.

Here is the machine, rows 0 through 7:

              1
            1   1
          1   2   1
        1   3   3   1
      1   4   6   4   1
    1   5   10  10  5   1
  1   6   15  20  15  6   1
1   7   21  35  35  21  7   1

First, the indexing system, because we will use it a thousand times. The lone 1 on top is ROW 0. Under it is row 1, then row 2, and so on. Within a row, we also count entries starting from 0: row 5 is

entry:   0   1   2    3    4   5
value:   1   5   10   10   5   1

So row n has n + 1 entries, numbered 0 through n. The left edge is always entry 0 and the right edge is always entry n. Why start at 0 instead of 1? Because then the labels MEAN things: the second entry (entry 1) of row n is always n itself, row n always sums to 2โฟ, and (Lesson 2) entry k of row n counts the ways to choose k things from n things. Number from 0 and the numbers become information.

Second, the build rule. Every inside entry has two parents โ€” the entries just above-left and above-right โ€” and it is their sum:

5 + 10 = 15   โ†’   the 15 in row 6 sits below the 5 and 10 of row 5
10 + 10 = 20  โ†’   the 20 sits below the two 10s
84 + 126 = 210  โ†’   the 210 in row 10 sits below them (watch it happen below!)

Edge entries have only one parent, so they never change: every row starts and ends with 1, forever. (Imagine invisible 0s beyond the edges if you like: 0 + 1 = 1. The edges take care of themselves.)

Now let's build row 10 from row 9 (1 9 36 84 126 126 84 36 9 1), step by step, with a reason for each move:

Start with 1                       (left edge: one parent only)
1 + 9 = 10                         (parents: the edge 1 and the 9)
9 + 36 = 45                        (parents: 9 and 36)
36 + 84 = 120                      (parents: 36 and 84)
84 + 126 = 210                     (parents: 84 and 126)
126 + 126 = 252                    (the twins meet โ€” row 10's biggest entry)
Then mirror the first half: 210, 120, 45, 10, 1   (every row is symmetric โ€” Lesson 2 makes this official)
Row 10:  1   10   45   120   210   252   210   120   45   10   1

Count them: 11 entries for row 10 โ€” the indexing rule (n + 1 entries) holds. โœ…

A word from history

Blaise Pascal wrote a famous treatise on this triangle in France in 1653 โ€” and used it to settle questions about gambling and probability, basically inventing probability theory with it. But he was late to the party! In China, Yang Hui published the triangle in 1261, crediting Jia Xian (around the year 1050). Persian mathematicians like al-Karaji knew it earlier still, and in India, scholars used it over 2,000 years ago to count the rhythms of poetry (how many ways can you mix long and short beats?). In China it is still called Yang Hui's triangle. Pascal got the fame โ€” but the triangle belongs to the whole world.

โœ๏ธ Your Turn!

Build row 11 from row 10. Use the mirror to save yourself half the work, and write out every sum.

๐Ÿ‘€ Show the answers

Answer: Start with the edge 1. Then 1 + 10 = 11, 10 + 45 = 55, 45 + 120 = 165, 120 + 210 = 330, 210 + 252 = 462. That's the halfway point, so mirror it: 462, 330, 165, 55, 11, 1.

Row 11:  1   11   55   165   330   462   462   330   165   55   11   1 โœ…

(12 entries for row 11 โ€” and notice the second entry is 11, exactly as promised.)

V.3.1