Lably
Skip to content

Pascal's triangle

Triangular array of the binomial coefficients

  • 18 min read
  • 7 chapters
  • 1 lab on Lably

Learn it on Lably

The rows of Pascal's triangle are conventionally enumerated starting with row n=0 at the top (the 0th row). The entries in each row are numbered from the left beginning with k=0 and are usually staggered relative to the numbers in the adjacent rows. The triangle may be constructed in the following manner: In row 0 (the topmost row), there is a unique nonzero entry 1. Each entry of each subsequent row is constructed by adding the number above and to the left with the number above and to the right, treating blank entries as 0. For example, the initial number of row 1 (or any other row) is 1 (the sum of 0 and 1), whereas the numbers 1 and 3 in row 3 are added to produce the number 4 in row 4.

Formula

In the nth row of Pascal's triangle, the kth entry is denoted (nk), pronounced "n choose k" because it describes the number of combinations: the number of ways of choosing ⁠k⁠ things from among a collection of ⁠n⁠ things. Row numbering starts at 0, and likewise entries within a row are numbered from 0. For example, the topmost entry is (00)=1. With this notation, the construction of the previous paragraph may be written as

(nk)=(n−1k−1)+(n−1k)for any positive integer n and any integer 0≤k≤n. This recurrence for the binomial coefficients is known as Pascal's rule. An arbitrary binomial coefficient can be calculated as (nk)=n!k!(n−k)!.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Discrete mathematics