Skip to content
Home

Pascal's triangle

A triangular arrangement of numbers in which each entry is the sum of the two above. Encodes binomial coefficients, combinatorial counts, and many classical numeric patterns and identities.

Overview

Pascal's triangle is a triangular arrangement of integers in which each entry (except the edges) equals the sum of the two numbers directly above it. The outer edges are all 1, and successive rows give the coefficients that appear in expansions of powers of a binomial expression. Although commonly associated with the French mathematician Blaise Pascal, versions of the triangle and its properties were recorded in a number of earlier mathematical traditions. The structure provides a compact way to display binomial coefficients and reveals many numerical patterns that appear both in elementary algebra and in combinatorics. For a basic visual and historical note, see triangular array.

Image gallery

4 Images

Construction and combinatorial meaning

To build Pascal's triangle start with a single 1 at the top (row 0). Each later row begins and ends with 1. Any interior entry is found by adding the two entries above it: entry(n,k) = entry(n-1,k-1) + entry(n-1,k), where n is the row index and k is the position within the row (both usually starting at zero). The numbers in row n are the binomial coefficients "n choose k", written C(n,k) or (n k), and count how many ways there are to choose k elements from a set of n. This explains the triangle's direct connection to the binomial theorem: the coefficients of (a + b)^n are precisely the numbers in the nth row. More on algebraic interpretation is available at binomial coefficients and combinatorial applications at combinations.

Key properties and patterns

Pascal's triangle contains many simple but striking identities and patterns that are useful in proofs and calculations. Some of the most frequently cited properties are listed below:

  • Symmetry: Each row reads the same left-to-right and right-to-left because C(n,k) = C(n,n-k).
  • Row sums: The sum of the entries in row n equals 2^n. This follows from evaluating (1+1)^n.
  • Hockey-stick identity: A diagonal sum of consecutive entries equals a single entry farther down the triangle (useful in combinatorial proofs).
  • Shallow diagonals: Certain diagonal sums produce important sequences — for example, sums of particular diagonals give the Fibonacci numbers and triangular numbers.
  • Modular patterns: Coloring entries by parity produces fractal-like patterns (Sierpiński triangle when taken modulo 2).

Other algebraic relationships can be written in closed form using factorials: C(n,k) = n! / (k! (n-k)!), which links the triangle to permutations and probabilities. The local additive rule makes the triangle an ideal example of a simple linear recurrence with wide consequences; see also recurrence examples.

Examples and numerical illustrations

Early rows of Pascal's triangle (with row numbers starting at 0) are typically displayed as: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 which shows directly how the coefficients for (a+b)^4 are 1, 4, 6, 4, 1. Beyond these small examples, entries grow quickly and encode many classical sequences: the second diagonal lists the natural numbers, the third diagonal gives triangular numbers, and the center entries of even rows give central binomial coefficients. The triangle also supplies quick combinatorial answers: the number of simple 5-card hands that include exactly 2 aces from a 4-ace deck can be expressed using C(4,2) times other factors; references to applied counting are available at combinatorics resources.

History, notation and applications

Versions of the triangle and tables of binomial coefficients appear in the work of mathematicians from several cultures across centuries. Chinese, Persian, and Indian mathematicians recorded triangular arrangements and numerical rules resembling the modern presentation before Pascal's systematic treatment in Europe. The name "Pascal's triangle" reflects Pascal's influential synthesis and his extensive study of its properties in the 17th century, but historical surveys emphasize earlier sources; see further reading at historical notes and mathematical surveys.

Why it matters

Pascal's triangle is a compact crossroads of algebra, combinatorics, number theory and recreational mathematics. It makes binomial expansions and probability calculations immediate, supplies identities for algebraic manipulation, and exhibits surprising geometric and fractal patterns under arithmetic reductions. Its simple generation rule makes it a staple example in teaching recursion and combinatorial reasoning. For hands-on exploration, replacing numbers by their residues modulo small integers reveals visual patterns valuable in both pedagogy and research. The triangle continues to appear across mathematics and its applications, from elementary classroom problems to connections with generating functions and algebraic identities that underpin more advanced theory.

History

The earliest detailed account of a triangle of binomial coefficients appeared in the 10th century in commentaries on the Chandas Shastra, an Indian book on Sanskrit prosody written by Pingala between the fifth and second centuries BCE. While Pingala's work survives only in fragments, the commentator Halayudha used the triangle around 975 to establish dubious relationships with Meru-prastaara the "steps of Mount Meru." It was also already known that the sum of the flat diagonals of the triangle gives the Fibonacci numbers. From the Indian mathematician Bhattotpala (approx. 1070) the first 17 lines of the triangle are handed down.

At about the same time, Pascal's triangle was treated in the Middle East by al-Karaji (953-1029), as-Samaw'al, and Omar Chayyām, and is therefore known in modern Iran as the Chayyām triangle. Various mathematical theorems concerning the triangle were known, including the binomial theorem. In fact, it is fairly certain that Chayyām used a method to calculate the n-th root based on the binomial expansion and thus the binomial coefficients.

The earliest Chinese representation of an arithmetic triangle identical to Pascal's triangle is found in Yang Hui's book Xiangjie Jiuzhang Suanfa of 1261, excerpts of which are preserved in the Yongle Encyclopedia. In it, Yang writes of having adopted the triangle from Jia Xian (c. 1050) and his method of calculating square and cube roots called li cheng shi shuo ("determining coefficients by means of diagram").

Peter Apian published the triangle in 1531/32 on the cover of his book on trade calculations, whose earlier version of 1527 is the first written record of Pascal's triangle in Europe.

In 1655, Blaise Pascal wrote the book "Traité du triangle arithmétique" (Treatise on the arithmetic triangle), in which he collected various results concerning the triangle and used them to solve problems in probability theory. The triangle was later named after Pascal by Pierre Rémond de Montmort (1708) and Abraham de Moivre (1730).

Application

Pascal's triangle gives a handle to quickly multiply out arbitrary powers of binomials. For example, the second line ( n=2) contains the coefficients 1, 2, 1 of the first two binomial formulas:

{\displaystyle (a\pm b)^{2}=a^{2}\ \pm \ 2\cdot ab\ +\ b^{2}.}

In the next, the third line, we find the coefficients 1, 3, 3, 1 for (a \pm b)^3:

{\displaystyle (a\pm b)^{3}=a^{3}\ \pm \ 3\cdot a^{2}b^{1}\ +\ 3\cdot a^{1}b^{2}\ \pm \ b^{3}.}

This list can be continued arbitrarily, whereby it is to be noted that for the binomial  (a - b) always the minus sign from "  \pm " is to be taken and that, while the exponent of ain each formula always decreases by 1, the exponent of bincreases by 1. A generalization is provided by the binomial theorem.

Furthermore, when Pascal's triangle is applied to the binomial {\displaystyle (a^{2}-b^{2})}with any exponent, the signs - and + alternate (there is always a minus if the exponent of bodd). This means, for example

{\displaystyle (a-b)^{4}=a^{4}\ -\ 4\cdot a^{3}b^{1}\ +\ 6\cdot a^{2}b^{2}\ -\ 4\cdot a^{1}b^{3}\ +\ b^{4}.}

A two-dimensional generalization is the Trinomial Triangle, in which each number is the sum of three (instead of two in Pascal's Triangle) entries. An extension into the third dimension is the Pascal's Pyramid.

Sequences in Pascal's triangle

In Pascal's triangle many well-known number sequences can be found.

The diagonals

The first diagonal contains only ones and the second diagonal contains the sequence of natural numbers. The third diagonal contains the triangular numbers and the fourth diagonal contains the tetrahedral numbers. In general, in the r-th diagonal one finds the regular figured numbers of order r. In each diagonal is the sequence of partial sums to the sequence that is in the diagonal above. Conversely, each diagonal sequence is the difference sequence to the sequence below in the diagonal.

In general, the following applies to the triangular numbers

\Delta(n) = \binom{n+1}{2},

for the tetrahedral numbers

T(n) = \sum_{k=1}^{n}\Delta(k) = \binom{n+2}{3}

and for the regular figured numbers of order r

R(r,n) = \sum_{k=1}^{n} R(r-1,k) = \binom{n+r-1}{r}.

The Fibonacci numbers

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

2

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

\color{OliveGreen}1

 

3

 

3

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

\color{blue}1

 

\color{red}4

 

\color{OliveGreen}6

 

4

 

1

 

 

 

 

 

 

 

 

 

 

 

1

 

5

 

\color{blue}10

 

\color{red}10

 

\color{OliveGreen}5

 

1

 

 

 

 

 

 

 

 

 

1

 

6

 

15

 

20

 

\color{blue}15

 

\color{red}6

 

\color{OliveGreen}1

 

 

 

 

 

 

 

1

 

7

 

21

 

35

 

35

 

21

 

\color{blue}7

 

\color{red}1

 

 

 

 

 

1

 

8

 

28

 

56

 

70

 

56

 

28

 

8

 

\color{blue}1

 

 

 

1

 

9

 

36

 

84

 

126

 

126

 

84

 

36

 

9

 

1

 

1

 

10

 

45

 

120

 

210

 

252

 

210

 

120

 

45

 

10

 

1

The sums of the flat "diagonals" marked here in green, red and blue each give a Fibonacci number (1, 1, 2, 3, 5, 8, 13, 21, 34, ...). In this example, the sum of the green diagonal is equal to 13, the sum of the red diagonal is equal to 21, the sum of the blue diagonal is equal to 34. The fact that sometimes the "diagonal" cannot be "pulled through" from one end to the other, as in the case of the red diagonal, is irrelevant.

In general

F(n)=\sum_{k=0}^{\lfloor \frac{n}{2} \rfloor} \binom {n-k-1}{k} = \sum_{k=0}^{\lfloor \frac{n}{2} \rfloor} \binom {n-k-1}{n-2k-1}, n \geq 1

The lines

The sum of the entries in a row is called the row total. From top to bottom, the row sums double from row to row. This comes from the formation law of the Pascal triangle. Each entry of a line is used in the following line to calculate two entries. Here, one must generalize the formation law by adding imaginary zeros to the left and right of each line, so that the outer ones of each line are also generated by adding the entries above it. Since the row sum of the first row is equal to one, the row sum of the n-th row is equal to 2^{n-1}. This corresponds to the following law for binomial coefficients:

\sum_{k=0}^n \binom nk = \binom n0 + \binom n1 + \dotsb + \binom nn = 2^n

If you line up the digits of the first five lines of the Pascal triangle, you get 1, 11, 121, 1331 and 14641, which are the first powers of 11.

The alternating sum of each line is zero: {\displaystyle \sum _{k=0}^{n}(-1)^{k}{\binom {n}{k}}=0},

Formally, the three formulas above follow from the binomial theorem (1+x)^n = \sum_{k=0}^n \binom{n}{k} x^kfor x=1, x=10and x=-1.

Mean binomial coefficients

The sequence of mean binomial coefficients starts with 1, 2, 6, 20, 70, 252, ... (sequence A000984 in OEIS).

Connection with the Sierpinski triangle

Pascal's triangle is related to Sierpinski's triangle, named in 1915 after the Polish mathematician Wacław Sierpiński. Both triangles use a simple but slightly different iteration rule that produces a geometric similarity.

Powers with arbitrary base

For powers with arbitrary base there exists a number triangle of a different kind:

\begin{matrix} _i\backslash^j & {n \choose 1} & {n \choose 2} & {n \choose 3} & {n \choose 4} & {n\choose 5} \\ n^1 & 1 & & & & \\ n^2 & 1 & 2 & & & \\ n^3 & 1 & 6 & 6 & & \\ n^4 & 1 & 14 & 36 & 24 & \\ n^5 & 1 & 30 & 150 & 240 & 120 \end{matrix}

This triangular matrix is arrived at by inversion of the matrix of coefficients of those terms representing the combinations without repetition of the form \begin{pmatrix}n \\ k \end{pmatrix}for and so on. k = 1, 2, 3, \dots

Example

\begin{pmatrix}n \\ 2 \end{pmatrix} = \frac{n\,(n-1)}{2} = - 0{,}5\, n + 0{,}5\,n^2.

Reading

n^5 = 1\,\begin{pmatrix} n\\1 \end{pmatrix} + 30\,\begin{pmatrix} n\\2 \end{pmatrix} + 150\,\begin{pmatrix} n\\3 \end{pmatrix} + 240\,\begin{pmatrix} n\\4 \end{pmatrix} + 120\,\begin{pmatrix} n\\5 \end{pmatrix}

Example

6^5 = 1\cdot 6 + 30\cdot 15 + 150\cdot 20 + 240\cdot 15 + 120\cdot 6 = 7\,776

The formation law of the coefficients for the coefficient in row iand column jis:

E(i,j) = [ E(i-1,j-1) + E(i-1,j) ]\cdot j

therefore E(i,j) = j! S(i,j)with the Stirling number S(i,j).

With the help of this triangle one gains immediate insight into the divisibility of powers. Thus, any prime power n^pfor is  p>3 n {\displaystyle n} n6 p {\displaystyle This is essentially the content of Fermat's little theorem; but in addition it is shown that the expression  a^p - a for all agiven not only by pbut for  p>3 6. The greatest common divisor of the matrix coefficients starting with the second coefficient of the prime exponents for nalways corresponds to the denominator of the respective Bernoullian number (example:  p=3 : denominator = 6;  p=5  : denominator = 30 etc.)

With this number triangle, for example, it can be easily proved that \forall n \in \mathbb{N}: n^5 - n^3 is divisible by 24:

 0\cdot a+ 24\cdot b + 144\cdot c + 240\cdot d + 120\cdot e(where  a = \begin{pmatrix} n \\ 1 \end{pmatrix}, b = \begin{pmatrix} n \\ 2\end{pmatrix}, etc.)

is always divisible by 24, since because of  n \in \mathbb{N} also a,b,c,d,e \in \mathbb{N}are.

Connection with the Wallis product

In 1655, John Wallis used a checkerboard interpolation between the number sequences figured (per dimension) to compute for the first time a representation of 4/\pi as an infinite product.

Other

About the numbers with which a number occurs in Pascal's triangle there is the Singmaster conjecture.

See also

Related articles

Author

AlegsaOnline.com Pascal's triangle

URL: https://en.alegsaonline.com/art/74896

Share