Pascal's Triangle: patterns, combinations and algebraic identities
Understand Pascal's Triangle: recurrence rule, combinations, Binomial Theorem, patterns, probability, lattice paths, and an interactive widget.
https://morrisonkuhlsen.com/pascals-triangle/
How can a rule this simple — put $1$ along the edges and add two neighboring numbers to fill the row below — produce, all at once, the coefficients of $(a + b)^n$, combination counts, the Binomial distribution, and the number of shortest paths across a grid?
In this post, we build Pascal’s Triangle from scratch, link its entries to combinations and the Binomial Theorem, explore seven classic patterns, apply the triangle to probability and lattice paths, and provide an interactive widget powered by exact integer arithmetic. Every calculation is checked in Julia, R, and Python, and every general property stated in the text is formally proved in Lean (provas/Provas/TrianguloPascal.lean).
1. What is Pascal’s Triangle (and where the name comes from)
Pascal’s Triangle is a triangular array of numbers with $1$ along both outer edges, where each interior entry equals the sum of the two entries directly above it:
\[\begin{array}{ccccccccc} &&&&1&&&&\\ &&&1&&1&&&\\ &&1&&2&&1&&\\ &1&&3&&3&&1&\\ 1&&4&&6&&4&&1 \end{array}\]The top row is numbered row $0$ (containing only $1$). Row $3$ is $1,\ 3,\ 3,\ 1$. To form row $4$, place $1$ at both ends and add each adjacent pair:
\[1 + 3 = 4, \qquad 3 + 3 = 6, \qquad 3 + 1 = 4.\]Result: $1,\ 4,\ 6,\ 4,\ 1$.
A brief historical note
Despite its Western name, the triangle was studied centuries before Blaise Pascal. Persian mathematicians such as Al-Karaji (c. 953–1029) and Omar Khayyam already knew its link to binomial powers; in China, Jia Xian (11th century) and Yang Hui (in 1261) presented the same array — there it is widely called Yang Hui’s Triangle. In 1654, the French mathematician Blaise Pascal wrote Traité du triangle arithmétique (published posthumously in 1665), giving a systematic treatment of its properties, connecting it to games of chance, and using mathematical induction.
Where it shows up
| Field | Role of Pascal’s Triangle |
|---|---|
| Algebra | Coefficients in the expansion of $(a + b)^n$ |
| Combinatorics | Counting unordered selections, $\binom{n}{k}$ |
| Probability | Combinatorial weights of the Binomial distribution |
| Discrete geometry | Counting shortest paths on grids |
| Number sequences | Powers of $2$, triangular numbers, and sum identities |
2. Connection to combinations and Pascal’s rule
Row $n$ of Pascal’s Triangle ($n = 0, 1, 2, \ldots$) lists, from left to right, the binomial coefficients:
\[\binom{n}{0},\ \binom{n}{1},\ \binom{n}{2},\ \ldots,\ \binom{n}{n}.\]The notation $\binom{n}{k}$ (read “$n$ choose $k$”) counts how many ways you can pick $k$ objects from $n$ available without regard to order. For integers $0 \leq k \leq n$ (recalling that $0! = 1$ by definition):
\[\binom{n}{k} = \frac{n!}{k!\,(n - k)!}\](Proved in Lean in division-free form: $\binom{n}{k} \cdot k! \cdot (n - k)! = n!$.) You can also test the formula with our interactive binomial coefficient calculator.
Example: compute $\binom{4}{2}$.
- Data: $n = 4$ total objects, $k = 2$ chosen.
- Substitution: $\binom{4}{2} = \dfrac{4!}{2!\,(4 - 2)!} = \dfrac{4!}{2!\,2!}$.
- Calculation: $4! = 4 \cdot 3 \cdot 2 \cdot 1 = 24$ and $2! = 2 \cdot 1 = 2$, so:
- Interpretation: among $4$ elements, there are exactly $6$ distinct pairs — the middle entry of row $4$ ($1,\ 4,\ \mathbf{6},\ 4,\ 1$).
Why does adding the two entries above work? (Pascal’s rule)
The construction rule of the triangle is written formally as Pascal’s rule (or Pascal’s identity), valid for all integers $n \geq 0$ and $k \geq 0$ (proved in Lean):
\[\binom{n + 1}{k + 1} = \binom{n}{k} + \binom{n}{k + 1}.\]Combinatorial intuition: imagine picking $k + 1$ people from a group of $n + 1$, and single out one specific person (say, Anna). Every valid selection falls into one of two disjoint cases:
- Anna is included: $k$ spots remain to be filled from the other $n$ people $\implies \binom{n}{k}$ choices.
- Anna is left out: all $k + 1$ spots must be chosen from the other $n$ people $\implies \binom{n}{k + 1}$ choices.
Adding the two cases yields all $\binom{n + 1}{k + 1}$ possible committees — precisely the rule of summing the two neighbors on the row above.
3. Connection to the Binomial Theorem
For every integer $n \geq 0$ and any real numbers $a$ and $b$, the expansion of $(a + b)^n$ is given by the Binomial Theorem (proved in Lean, using the convention $0^0 = 1$ in the sum):
\[(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n - k} b^k.\]Each row of the triangle supplies the coefficients of the corresponding power (the case $n = 2$ has a full geometric proof in Binomial Squared):
| Row $n$ | Power | Expansion | Coefficients |
|---|---|---|---|
| $0$ | $(a + b)^0$ | $1$ | $1$ |
| $1$ | $(a + b)^1$ | $a + b$ | $1,\ 1$ |
| $2$ | $(a + b)^2$ | $a^2 + 2ab + b^2$ | $1,\ 2,\ 1$ |
| $3$ | $(a + b)^3$ | $a^3 + 3a^2b + 3ab^2 + b^3$ | $1,\ 3,\ 3,\ 1$ |
| $4$ | $(a + b)^4$ | $a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4$ | $1,\ 4,\ 6,\ 4,\ 1$ |
For $n = 5$, the row is $1,\ 5,\ 10,\ 10,\ 5,\ 1$, so (proved in Lean):
\[(a + b)^5 = a^5 + 5a^4b + 10a^3b^2 + 10a^2b^3 + 5ab^4 + b^5.\]Notice the exponent pattern in every term: the exponent of $a$ drops from $n$ down to $0$, the exponent of $b$ climbs from $0$ up to $n$, and the two exponents always add up to $n$ (for instance, in $10a^3b^2$, we have $3 + 2 = 5$).
4. Interactive widget: Pascal’s Triangle
Use the sliders below to choose how many rows to display, which row $n$ to highlight, and the integers $a$ and $b$ in $(a + b)^n$. All calculations use exact integer arithmetic (BigInt), with no rounding:
5. Worked examples by hand
Example 1 — Expand $(a + b)^2$
Row $2$ of the triangle is $1,\ 2,\ 1$. Applying the coefficients to decreasing powers of $a$ and increasing powers of $b$:
\[(a + b)^2 = 1a^2 + 2ab + 1b^2 = a^2 + 2ab + b^2.\]Check by distribution:
\[(a + b)(a + b) = a(a + b) + b(a + b) = a^2 + ab + ba + b^2 = a^2 + 2ab + b^2.\]Example 2 — Expand $(a + b)^3$
Row $3$ is $1,\ 3,\ 3,\ 1$, so:
\[(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3.\]Check by multiplying $(a^2 + 2ab + b^2)(a + b)$:
\[\begin{aligned} (a^2 + 2ab + b^2)(a + b) &= a^2(a + b) + 2ab(a + b) + b^2(a + b) \\ &= (a^3 + a^2b) + (2a^2b + 2ab^2) + (ab^2 + b^3) \\ &= a^3 + 3a^2b + 3ab^2 + b^3. \end{aligned}\]Example 3 — Expand $(x + y)^4$
Row $4$ is $1,\ 4,\ 6,\ 4,\ 1$. Replacing $a = x$ and $b = y$ (proved in Lean):
\[(x + y)^4 = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4.\]Example 4 — Coefficients and minus sign: $(2x - 3)^3$
When the terms carry coefficients or negative signs, substitute the entire term: $a = 2x$ and $b = -3$, using row $3$ ($1,\ 3,\ 3,\ 1$; proved in Lean):
\[\begin{aligned} (2x - 3)^3 &= 1(2x)^3 + 3(2x)^2(-3) + 3(2x)(-3)^2 + 1(-3)^3 \\ &= 8x^3 + 3(4x^2)(-3) + 3(2x)(9) + (-27) \\ &= 8x^3 - 36x^2 + 54x - 27. \end{aligned}\]Quick check at $x = 1$: left side $(2 - 3)^3 = (-1)^3 = -1$; right side $8 - 36 + 54 - 27 = -1$. Exact match.
6. Key patterns in Pascal’s Triangle
All seven properties below are formally proved in Lean (provas/Provas/TrianguloPascal.lean).
1. Both outer edges are always $1$
\[\binom{n}{0} = 1, \qquad \binom{n}{n} = 1.\]Interpretation: there is only $1$ way to choose nothing (the empty set) and only $1$ way to choose all $n$ elements.
2. Every row is symmetric
For every $0 \leq k \leq n$:
\[\binom{n}{k} = \binom{n}{n - k}.\]For instance, $\binom{5}{2} = \binom{5}{3} = 10$: choosing $2$ objects out of $5$ is the exact same decision as choosing the $3$ to leave behind.
3. Row $n$ sums to $2^n$
Setting $a = 1$ and $b = 1$ in the Binomial Theorem gives $(1 + 1)^n = 2^n$, hence:
\[\sum_{k=0}^{n} \binom{n}{k} = \binom{n}{0} + \binom{n}{1} + \cdots + \binom{n}{n} = 2^n.\]| Row $n$ | Entries | Sum |
|---|---|---|
| $0$ | $1$ | $1 = 2^0$ |
| $1$ | $1 + 1$ | $2 = 2^1$ |
| $2$ | $1 + 2 + 1$ | $4 = 2^2$ |
| $3$ | $1 + 3 + 3 + 1$ | $8 = 2^3$ |
| $4$ | $1 + 4 + 6 + 4 + 1$ | $16 = 2^4$ |
Interpretation: an $n$-element set has exactly $2^n$ subsets in total (each element is either in or out).
4. The alternating sum of every row ($n \geq 1$) is zero
Setting $a = 1$ and $b = -1$ in the Binomial Theorem gives $(1 - 1)^n = 0^n = 0$ for all $n \geq 1$:
\[\sum_{k=0}^{n} (-1)^k \binom{n}{k} = \binom{n}{0} - \binom{n}{1} + \binom{n}{2} - \cdots + (-1)^n \binom{n}{n} = 0 \qquad (n \geq 1).\]For row $4$: $1 - 4 + 6 - 4 + 1 = 0$. Combinatorially, every nonempty finite set has just as many even-sized subsets as odd-sized subsets.
5. The second diagonal gives the natural numbers
\[\binom{n}{1} = n \qquad (1,\ 2,\ 3,\ 4,\ 5,\ 6,\ \ldots).\]With $6$ objects, there are $\binom{6}{1} = 6$ ways to pick $1$ of them.
6. The third diagonal gives the triangular numbers
\[\binom{n}{2} = \frac{n(n - 1)}{2} \qquad (1,\ 3,\ 6,\ 10,\ 15,\ 21,\ \ldots \text{ for } n \geq 2).\]For example, $\binom{5}{2} = \dfrac{5 \cdot 4}{2} = 10$ (also the number of pairs — or handshakes — among $5$ people).
7. The hockey-stick identity
Summing consecutive entries along a diagonal starting at an edge (with fixed $r \geq 0$) lands on the entry directly below it in the opposite direction — tracing the shape of a hockey stick:
\[\sum_{j=0}^{m} \binom{r + j}{r} = \binom{r + m + 1}{r + 1}.\]Along the triangular-number diagonal ($r = 2$, summing from $n = 2$ to $n = 6$):
\[\binom{2}{2} + \binom{3}{2} + \binom{4}{2} + \binom{5}{2} + \binom{6}{2} = 1 + 3 + 6 + 10 + 15 = 35 = \binom{7}{3}.\]7. Applications: probability and lattice paths
Probability and the Binomial distribution
Consider $3$ independent tosses of a fair coin ($p = 1/2$ for heads on each toss). There are $2^3 = 8$ equally likely outcomes ($H$ = heads, $T$ = tails):
\[HHH,\ HHT,\ HTH,\ THH,\ HTT,\ THT,\ TTH,\ TTT.\]Grouping by the number of heads $X$ reproduces row $3$ of Pascal’s Triangle ($1,\ 3,\ 3,\ 1$):
| Number of heads ($k$) | Matching outcomes | Probability $P(X = k)$ |
|---|---|---|
| $0$ | $\binom{3}{0} = 1$ | $1/8 = 0.125$ |
| $1$ | $\binom{3}{1} = 3$ | $3/8 = 0.375$ |
| $2$ | $\binom{3}{2} = 3$ | $3/8 = 0.375$ |
| $3$ | $\binom{3}{3} = 1$ | $1/8 = 0.125$ |
In general, across $n$ independent trials, each with two outcomes (success or failure) and a constant success probability $p \in [0, 1]$, the number of successes $X$ follows the Binomial distribution (for $0 \leq k \leq n$):
\[P(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}.\]The factor $\binom{n}{k}$ (from row $n$ of Pascal’s Triangle) counts how many orderings contain exactly $k$ successes and $n - k$ failures. To see this distribution in action with simulations and further properties, read Mysteries of the coin toss.
Counting paths on a grid
Suppose you walk from the top-left corner $(0, 0)$ of a $3 \times 2$ grid to the bottom-right corner $(3, 2)$, moving only right (R) or down (D).
Every shortest path requires exactly $3$ right steps and $2$ down steps — $5$ steps in total. Picking a path means choosing which $2$ of the $5$ steps go down (the remaining $3$ automatically go right):
\[\binom{5}{2} = \frac{5!}{2!\,3!} = \frac{120}{2 \cdot 6} = 10 \text{ paths}.\]Even better: you can enter any grid intersection only from above or from the left, so the path count at each corner is the sum of the two neighboring counts — which reproduces Pascal’s Triangle tilted sideways:
| Row $\backslash$ Column | $0$ | $1$ | $2$ | $3$ |
|---|---|---|---|---|
| $0$ | $1$ | $1$ | $1$ | $1$ |
| $1$ | $1$ | $2$ | $3$ | $4$ |
| $2$ | $1$ | $3$ | $6$ | $10$ |
8. Checking on a computer (Julia, R, and Python)
The block below builds the triangle from Pascal’s recurrence (without factorials), checks the row sum $2^n$ and alternating sum $0$, verifies the hockey-stick identity, and computes $\binom{50}{5}$ with built-in combinatorial functions (avoiding overflow from computing $50!$ directly).
using Printf
# 1) Building Pascal's Triangle by recurrence (without factorials)
function pascals_triangle(n_max)
rows = [[1]]
for n in 1:n_max
prev = rows[end]
next_row = [1; [prev[k] + prev[k + 1] for k in 1:(length(prev) - 1)]; 1]
push!(rows, next_row)
end
return rows
end
rows = pascals_triangle(6)
println("1) Rows 0 to 6, row sum (2^n), and alternating sum:")
for (idx, row) in enumerate(rows)
n = idx - 1
total = sum(row)
alt = sum((isodd(k) ? 1 : -1) * v for (k, v) in enumerate(row))
@printf(" n = %d: %-24s sum = %2d (2^%d = %2d) alternating = %d\n",
n, join(row, " "), total, n, 2^n, alt)
end
# 2) Hockey-stick identity: sum of C(j, 2) for j = 2..6 = C(7, 3)
diag = [binomial(j, 2) for j in 2:6]
println("\n2) Hockey-stick identity (diagonal r = 2, up to n = 6):")
@printf(" %s = %d | C(7, 3) = %d\n", join(diag, " + "), sum(diag), binomial(7, 3))
# 3) Applications: paths on a 3 x 2 grid and Binomial(n = 3, p = 1/2)
println("\n3) Applications:")
@printf(" Paths on a 3x2 grid: C(5, 2) = %d\n", binomial(5, 2))
@printf(" Fair coin (n = 3): P(X = 2) = %d / %d = %.4f\n", binomial(3, 2), 2^3, binomial(3, 2) / 2^3)
@printf(" No overflow at n = 50: C(50, 5) = %d\n", binomial(50, 5))
1) Rows 0 to 6, row sum (2^n), and alternating sum: n = 0: 1 sum = 1 (2^0 = 1) alternating = 1 n = 1: 1 1 sum = 2 (2^1 = 2) alternating = 0 n = 2: 1 2 1 sum = 4 (2^2 = 4) alternating = 0 n = 3: 1 3 3 1 sum = 8 (2^3 = 8) alternating = 0 n = 4: 1 4 6 4 1 sum = 16 (2^4 = 16) alternating = 0 n = 5: 1 5 10 10 5 1 sum = 32 (2^5 = 32) alternating = 0 n = 6: 1 6 15 20 15 6 1 sum = 64 (2^6 = 64) alternating = 0 2) Hockey-stick identity (diagonal r = 2, up to n = 6): 1 + 3 + 6 + 10 + 15 = 35 | C(7, 3) = 35 3) Applications: Paths on a 3x2 grid: C(5, 2) = 10 Fair coin (n = 3): P(X = 2) = 3 / 8 = 0.3750 No overflow at n = 50: C(50, 5) = 2118760
# 1) Building Pascal's Triangle by recurrence (without factorials)
pascals_triangle <- function(n_max) {
rows <- list(1L)
for (n in seq_len(n_max)) {
prev <- rows[[n]]
mid <- if (length(prev) > 1L) prev[-length(prev)] + prev[-1L] else integer(0)
rows[[n + 1L]] <- c(1L, mid, 1L)
}
rows
}
rows <- pascals_triangle(6)
cat("1) Rows 0 to 6, row sum (2^n), and alternating sum:\n")
for (idx in seq_along(rows)) {
n <- idx - 1L
row <- rows[[idx]]
total <- sum(row)
signs <- ifelse((seq_along(row) - 1L) %% 2L == 0L, 1L, -1L)
alt <- sum(signs * row)
cat(sprintf(" n = %d: %-24s sum = %2d (2^%d = %2d) alternating = %d\n",
n, paste(row, collapse = " "), total, n, 2L^n, alt))
}
# 2) Hockey-stick identity: sum of C(j, 2) for j = 2..6 = C(7, 3)
diag <- choose(2:6, 2)
cat("\n2) Hockey-stick identity (diagonal r = 2, up to n = 6):\n")
cat(sprintf(" %s = %d | C(7, 3) = %d\n",
paste(diag, collapse = " + "), sum(diag), choose(7, 3)))
# 3) Applications: paths on a 3 x 2 grid and Binomial(n = 3, p = 1/2)
cat("\n3) Applications:\n")
cat(sprintf(" Paths on a 3x2 grid: C(5, 2) = %d\n", choose(5, 2)))
cat(sprintf(" Fair coin (n = 3): P(X = 2) = %d / %d = %.4f\n",
choose(3, 2), 2^3, choose(3, 2) / 2^3))
cat(sprintf(" No overflow at n = 50: C(50, 5) = %.0f\n", choose(50, 5)))
1) Rows 0 to 6, row sum (2^n), and alternating sum: n = 0: 1 sum = 1 (2^0 = 1) alternating = 1 n = 1: 1 1 sum = 2 (2^1 = 2) alternating = 0 n = 2: 1 2 1 sum = 4 (2^2 = 4) alternating = 0 n = 3: 1 3 3 1 sum = 8 (2^3 = 8) alternating = 0 n = 4: 1 4 6 4 1 sum = 16 (2^4 = 16) alternating = 0 n = 5: 1 5 10 10 5 1 sum = 32 (2^5 = 32) alternating = 0 n = 6: 1 6 15 20 15 6 1 sum = 64 (2^6 = 64) alternating = 0 2) Hockey-stick identity (diagonal r = 2, up to n = 6): 1 + 3 + 6 + 10 + 15 = 35 | C(7, 3) = 35 3) Applications: Paths on a 3x2 grid: C(5, 2) = 10 Fair coin (n = 3): P(X = 2) = 3 / 8 = 0.3750 No overflow at n = 50: C(50, 5) = 2118760
import math
# 1) Building Pascal's Triangle by recurrence (without factorials)
def pascals_triangle(n_max):
rows = [[1]]
for _ in range(n_max):
prev = rows[-1]
next_row = [1] + [prev[k] + prev[k + 1] for k in range(len(prev) - 1)] + [1]
rows.append(next_row)
return rows
rows = pascals_triangle(6)
print("1) Rows 0 to 6, row sum (2^n), and alternating sum:")
for n, row in enumerate(rows):
total = sum(row)
alt = sum((1 if k % 2 == 0 else -1) * v for k, v in enumerate(row))
text = " ".join(map(str, row))
print(f" n = {n}: {text:<24} sum = {total:2d} (2^{n} = {2**n:2d}) alternating = {alt}")
# 2) Hockey-stick identity: sum of C(j, 2) for j = 2..6 = C(7, 3)
diag = [math.comb(j, 2) for j in range(2, 7)]
print("\n2) Hockey-stick identity (diagonal r = 2, up to n = 6):")
print(f" {' + '.join(map(str, diag))} = {sum(diag)} | C(7, 3) = {math.comb(7, 3)}")
# 3) Applications: paths on a 3 x 2 grid and Binomial(n = 3, p = 1/2)
print("\n3) Applications:")
print(f" Paths on a 3x2 grid: C(5, 2) = {math.comb(5, 2)}")
print(f" Fair coin (n = 3): P(X = 2) = {math.comb(3, 2)} / {2**3} = {math.comb(3, 2) / 2**3:.4f}")
print(f" No overflow at n = 50: C(50, 5) = {math.comb(50, 5)}")
1) Rows 0 to 6, row sum (2^n), and alternating sum: n = 0: 1 sum = 1 (2^0 = 1) alternating = 1 n = 1: 1 1 sum = 2 (2^1 = 2) alternating = 0 n = 2: 1 2 1 sum = 4 (2^2 = 4) alternating = 0 n = 3: 1 3 3 1 sum = 8 (2^3 = 8) alternating = 0 n = 4: 1 4 6 4 1 sum = 16 (2^4 = 16) alternating = 0 n = 5: 1 5 10 10 5 1 sum = 32 (2^5 = 32) alternating = 0 n = 6: 1 6 15 20 15 6 1 sum = 64 (2^6 = 64) alternating = 0 2) Hockey-stick identity (diagonal r = 2, up to n = 6): 1 + 3 + 6 + 10 + 15 = 35 | C(7, 3) = 35 3) Applications: Paths on a 3x2 grid: C(5, 2) = 10 Fair coin (n = 3): P(X = 2) = 3 / 8 = 0.3750 No overflow at n = 50: C(50, 5) = 2118760
9. What goes wrong in practice (common pitfalls)
- Counting rows from $1$ instead of $0$: the top entry ($1$) is row $0$; row $4$ is $1,\ 4,\ 6,\ 4,\ 1$ (the fifth line from the top). Quick check: the second entry of row $n$ is always $n$ itself.
- Forgetting inner coefficients and signs in $(cx + d)^n$: in $(2x - 3)^3$, the row-$3$ entries ($1,\ 3,\ 3,\ 1$) are not the final coefficients — you must raise $(2x)$ and $(-3)$ to their powers, yielding $8,\ -36,\ 54,\ -27$.
- Using the Binomial distribution without independence: in sampling without replacement (such as dealing cards or drawing lottery balls), the probability shifts on each draw — the right model is the hypergeometric distribution, not the Binomial.
- Computing $n!$ before dividing on a computer: in 64-bit integers, $21!$ already overflows; in standard floating point, $171!$ becomes
Inf. Always usebinomial(n, k)(Julia),choose(n, k)(R),math.comb(n, k)(Python), or Pascal’s recurrence.
10. Summary
- Pascal’s Triangle starts at row $0$ with $1$ and builds each row by summing adjacent entries above: $\binom{n + 1}{k + 1} = \binom{n}{k} + \binom{n}{k + 1}$.
- Entry $k$ of row $n$ is the binomial coefficient $\binom{n}{k} = \frac{n!}{k!\,(n - k)!}$ ($0 \leq k \leq n$).
- By the Binomial Theorem, row $n$ gives the coefficients of $(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n - k} b^k$.
- Key properties: outer edges equal $1$, symmetry $\binom{n}{k} = \binom{n}{n - k}$, row sum $2^n$, alternating sum $0$ ($n \geq 1$), natural numbers on the 2nd diagonal, triangular numbers on the 3rd, and the hockey-stick identity.
- In practice, the triangle organizes the combinatorial weights of the Binomial distribution (under independence and constant $p$) and shortest-path counts on grids.
11. References
- Pascal, B. (1665). Traité du triangle arithmétique (written in 1654; published posthumously in Paris).
- Graham, R. L., Knuth, D. E., & Patashnik, O. (1994). Concrete Mathematics: A Foundation for Computer Science. 2nd ed. Addison-Wesley. (Ch. 5: Binomial Coefficients.)
- Brualdi, R. A. (2010). Introductory Combinatorics. 5th ed. Pearson. (Ch. 5: Binomial Coefficients.)
- Ross, S. (2019). A First Course in Probability. 10th ed. Pearson.
Comments