MathorynMathematical Formula Database

Combinatorics

Sum of Binomial Coefficients

Adding all binomial coefficients in row nn of Pascal's triangle gives 2n2^n, the total number of subsets of an nn-element set. It follows from the binomial theorem with a=b=1a=b=1 and is used in counting arguments.

∑k=0n(nk)=2n\sum_{k=0}^{n}\binom{n}{k}=2^n
LaTeX\sum_{k=0}^{n}\binom{n}{k}=2^n

Variables

nn
non-negative integer
kk
subset size

Example

Check for n=5n=5.

  1. 1+5+10+10+5+11+5+10+10+5+1.
  2. 25=322^5=32.

Answer: Both equal 3232.

Related formulas