dash–calculator

03 Algebra and Polynomials

Pascal’s Triangle Rows 0 to 20 and nCr Grid

Readout 03-0511 · Updated · Standard formula, shown below

C(n, k) 120
Row sum 2^n
1,024
Result, rounded to a whole number
Row n
10
Input
Position k
3
Input
You enter
Row n, Position k
You get
C(n, k), Row sum 2^n
Rounding
0 dp

This page presents two related reference tables for Pascal’s triangle. The first table lists every row from row 0 through row 20, with the entries written out and the row sum shown as a power of 2. The second table is a grid of binomial coefficients C(n, k) for n and k from 0 to 12, which is the same as the entries of Pascal’s triangle up to row 12 but arranged by n and k. These tables are useful for students of combinatorics, algebra, and probability, as well as for anyone who needs quick access to binomial coefficients or coefficients in binomial expansions.

The tables are designed to be read directly: each entry is a whole number, and the rows are symmetric. The formulas and worked example on this page show how to compute any entry using factorials or the addition rule, and the tables allow you to verify results or find values without repeated calculation. Whether you are expanding (a + b)^n, counting combinations, or exploring number patterns, these tables provide a clear and compact reference.

Formula

Entry k of row n is C(n, k) = n! / (k! (n − k)!), with rows and positions counted from 0. Each entry is the sum of the two above it: C(n, k) = C(n − 1, k − 1) + C(n − 1, k). Row n sums to 2n.

Worked Example

Find entry 3 of row 10, the calculator default.

Step Working Result
1 C(10, 3) = 10! / (3! × 7!) 3,628,800 / (6 × 5,040)
2 = (10 × 9 × 8) / (3 × 2 × 1) 720 / 6
3 C(10, 3) 120
4 check with the row above: C(9, 2) + C(9, 3) 36 + 84 = 120

Rows 0 to 20 of Pascal's triangle

Row n Entries C(n, 0) … C(n, n) Row sum 2^n
0 1 1
1 1 1 2
2 1 2 1 4
3 1 3 3 1 8
4 1 4 6 4 1 16
5 1 5 10 10 5 1 32
6 1 6 15 20 15 6 1 64
7 1 7 21 35 35 21 7 1 128
8 1 8 28 56 70 56 28 8 1 256
9 1 9 36 84 126 126 84 36 9 1 512
10 1 10 45 120 210 252 210 120 45 10 1 1,024
11 1 11 55 165 330 462 462 330 165 55 11 1 2,048
12 1 12 66 220 495 792 924 792 495 220 66 12 1 4,096
13 1 13 78 286 715 1,287 1,716 1,716 1,287 715 286 78 13 1 8,192
14 1 14 91 364 1,001 2,002 3,003 3,432 3,003 2,002 1,001 364 91 14 1 16,384
15 1 15 105 455 1,365 3,003 5,005 6,435 6,435 5,005 3,003 1,365 455 105 15 1 32,768
16 1 16 120 560 1,820 4,368 8,008 11,440 12,870 11,440 8,008 4,368 1,820 560 120 16 1 65,536
17 1 17 136 680 2,380 6,188 12,376 19,448 24,310 24,310 19,448 12,376 6,188 2,380 680 136 17 1 131,072
18 1 18 153 816 3,060 8,568 18,564 31,824 43,758 48,620 43,758 31,824 18,564 8,568 3,060 816 153 18 1 262,144
19 1 19 171 969 3,876 11,628 27,132 50,388 75,582 92,378 92,378 75,582 50,388 27,132 11,628 3,876 969 171 19 1 524,288
20 1 20 190 1,140 4,845 15,504 38,760 77,520 125,970 167,960 184,756 167,960 125,970 77,520 38,760 15,504 4,845 1,140 190 20 1 1,048,576

How to read this table

In the first table, each row is labeled by its row number n, starting with row 0 at the top. The entries are listed from left to right, corresponding to C(n, 0), C(n, 1), and so on up to C(n, n). The last column shows the row sum, which equals 2^n; for row 4 the sum is 16. Notice that each row is symmetric: the entries read the same forward and backward, because C(n, k) = C(n, n−k).

The second table is a grid with rows indexed by n (from 0 to 12) and columns indexed by k (from 0 to 12). The value at the intersection of row n and column k is C(n, k). For example, the entry at n=10 and k=3 is 120, which matches the worked example. Empty cells in the grid correspond to k > n, where C(n, k) is defined as 0. To find a coefficient, locate the row for n, move across to the column for k, and read the number. The grid is a convenient way to look up any binomial coefficient with n up to 12.

Both tables are equivalent for n ≤ 12: the entries in row n of the first table are exactly the nonzero entries in row n of the grid. For n from 13 to 20, only the first table applies. The row sums in the first table grow quickly, reaching 1,048,576 for row 20, so the tables also illustrate how fast powers of 2 increase.

C(n, k) grid for n, k = 0 to 12

n \ k 0 1 2 3 4 5 6 7 8 9 10 11 12
0 1
1 1 1
2 1 2 1
3 1 3 3 1
4 1 4 6 4 1
5 1 5 10 10 5 1
6 1 6 15 20 15 6 1
7 1 7 21 35 35 21 7 1
8 1 8 28 56 70 56 28 8 1
9 1 9 36 84 126 126 84 36 9 1
10 1 10 45 120 210 252 210 120 45 10 1
11 1 11 55 165 330 462 462 330 165 55 11 1
12 1 12 66 220 495 792 924 792 495 220 66 12 1

Patterns and Properties in the Tables

Several well-known patterns appear directly in the tables. The most obvious is symmetry: each row reads the same left to right and right to left. This symmetry holds for every row because choosing k items from n is the same as leaving out n−k items.

The row sums follow a clear rule: the sum of the entries in row n is 2^n. Row 3 sums to 8, row 4 to 16, and row 10 to 1,024. This matches the binomial theorem, where (1+1)^n = 2^n. The tables also reveal the natural numbers on the second diagonal: the entries just inside the outer 1s are 1, 2, 3, 4, 5, and so on. The third diagonal contains the triangular numbers: 1, 3, 6, 10, 15, 21, 28, and so on. These are the numbers C(n, 2) for n = 2, 3, 4, … .

The addition rule is visible throughout: each entry is the sum of the two entries directly above it in the previous row. For example, in row 5, the entry 10 comes from 4 + 6 in row 4. This rule is the basis for building the triangle by hand and is also stated in the formula section.

How to Build the Triangle by Hand

You can construct Pascal’s triangle without any formulas. Start with row 0 as a single 1. For each new row, write a 1 at the beginning and end, and fill each interior position by adding the two numbers directly above it from the previous row. For example, to get row 3 from row 2 (1 2 1), write 1, then 1+2=3, then 2+1=3, then 1, giving 1 3 3 1. Continue this process to generate as many rows as you need.

This method works because of the addition rule C(n, k) = C(n−1, k−1) + C(n−1, k). Each new entry is the sum of the two entries that are diagonally above it. The tables on this page show the result up to row 20, so you can check your work at each step. For instance, row 11 is 1 11 55 165 330 462 462 330 165 55 11 1, and each interior entry is the sum of the two above it from row 10.

Building the triangle by hand is a good way to internalize the pattern, but for larger n the numbers grow quickly. The formula C(n, k) = n! / (k! (n−k)!) is more efficient for a single entry, as shown in the worked example. The grid table provides a quick reference for n up to 12.

Practical Uses in Combinatorics and Algebra

Pascal’s triangle is most commonly used to find binomial coefficients, which count combinations. The entry C(n, k) tells you how many ways to choose k items from a set of n distinct items, without regard to order. For example, C(10, 3) = 120 means there are 120 ways to choose 3 items from 10. This is essential in probability, statistics, and counting problems.

In algebra, the rows give the coefficients in the expansion of (a + b)^n. For instance, (a + b)^4 = 1a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + 1b^4, using row 4. The binomial theorem states that the coefficient of a^(n−k) b^k is C(n, k). The grid table up to n=12 is especially handy for expanding polynomials or finding a single coefficient without writing out the whole expansion.

The tables also appear in probability calculations, such as the binomial distribution, where the number of ways to get k successes in n trials is C(n, k). The row sums 2^n represent the total number of outcomes when flipping n coins, for example. These applications make the tables a practical reference for students and professionals.

Common Mistakes and How to Avoid Them

One common mistake is forgetting that rows and columns start at 0, not 1. The first row is row 0, and the first entry is C(n, 0) = 1. The worked example shows that entry 3 is 120, not 45.

Another mistake is misreading the grid: the grid shows C(n, k) for n and k up to 12, but for k > n the cell is empty, meaning the value is 0. For example, C(5, 7) is 0, not a missing number. Also, the symmetry C(n, k) = C(n, n−k) can be confusing if you use the wrong index; always check that k ≤ n.

Finally, when using the addition rule, be careful to add the correct two entries from the previous row. The entry C(n, k) is the sum of C(n−1, k−1) and C(n−1, k). For example, C(10, 3) = C(9, 2) + C(9, 3) = 36 + 84 = 120, as shown in the worked example. Misaligning the rows is a frequent error when building the triangle by hand.

Limits and Precision of the Tables

The first table lists rows up to row 20, and the grid covers n and k up to 12. These limits are chosen because the numbers remain manageable and fit comfortably in the table format. For n up to 20, the largest entry is C(20, 10) = 184,756, and the row sum is 1,048,576. These values are well within the range of standard integer arithmetic on most calculators and computers.

For n larger than 20, the entries grow very quickly. For example, row 20 already has entries in the hundreds of thousands, and row 21 would have even larger numbers. The factorial formula C(n, k) = n! / (k! (n−k)!) can be used for any n, but the numbers may exceed the precision of floating-point calculators if n is very large. In such cases, it is better to use the multiplicative form (n × (n−1) × … × (n−k+1)) / k! to avoid computing huge factorials.

The tables are exact, so there is no rounding error for the values shown. However, when using the formula with a calculator, be aware that n! for n above 20 can be extremely large, and the result may lose precision if the calculator uses floating-point arithmetic. For exact values, use integer arithmetic or a symbolic calculator.

Frequently Asked Questions

Why does row 0 have only one entry?

Row 0 corresponds to n = 0, and the only binomial coefficient is C(0, 0) = 1. The row sum is 2^0 = 1. This is consistent with the pattern that each row has n + 1 entries, so row 0 has 1 entry.

How do I find C(10, 3) using the table?

In the grid table, find the row labeled n = 10 and the column labeled k = 3. The number at their intersection is 120. Alternatively, look at row 10 in the first table and count the entries starting from 0: the fourth entry is 120.

What does the symmetry C(n, k) = C(n, n−k) mean in practice?

It means choosing k items from n is the same as choosing which n−k items to leave out. For example, C(10, 3) = C(10, 7) = 120.

Why is the sum of row n equal to 2^n?

The sum of the entries in row n equals the total number of subsets of a set with n elements, which is 2^n. For example, row 4 sums to 16, and a 4-element set has 16 subsets. This also follows from the binomial theorem with a = b = 1.

Can I use the table for n greater than 20?

The tables on this page only go up to n = 20. For larger n, you can use the formula C(n, k) = n! / (k! (n−k)!) or the addition rule, but the numbers grow very quickly. For n above 20, factorials are huge, so it's better to use a calculator with exact integer arithmetic.

Calculators that go with this table

Method and sources

Exact integer binomial coefficients (math.comb), no rounding.

Source formulas: the standard textbook definitions written out in the Formula section above. Every value in the tables was generated from those formulas in code and spot-checked against the worked example and the calculator on this page; nothing was copied from another table.

Related

Formula used
in n | Row n | - | 10 | 0 | 170
in k | Position k | - | 3 | 0 | 170
out cc | C(n, k) | - | ncr(n, k) + 0 * sqrt(n - k) | 0
out rs | Row sum 2^n | - | pow(2, n) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Algebra and Polynomials panel →