Central Binomial Coefficient Calculator

Sequences

Central binomial coefficient C(20, 10)184,756
previous C(2n-2, n-1)48,620
approximation 4^n / sqrt(pi x n)187,078.97
exact / approximation ratio0.9876
How this was calculated
  1. The central binomial coefficient C(2n, n) counts the ways to choose half of 2n objects - it is the largest entry in row 2n of Pascal's triangle, and the middle of the even rows.
  2. Building the product term by term gives C(20, 10) = 184,756, against the previous central value 48,620.
  3. The asymptotic approximation 4^n / sqrt(pi x n) gives 187,078.97 here, a ratio of 0.9876 to the exact value - it sharpens as n grows and is within a fraction of a percent by n = 200.
  4. Central binomial coefficients anchor the Catalan numbers (divide by n + 1), the probability of an exactly even split in 2n fair coin tosses, and the 4^n / sqrt(pi n) growth law.

The central binomial coefficient C(2n, n) is the number of ways to choose exactly half of 2n objects - and the largest entry in row 2n of Pascal's triangle. Its values are familiar even if the name is not: C(10, 5) = 252 and C(20, 10) = 184,756, the famous count of ways to split twenty things into two tens.

This central binomial coefficient calculator returns the exact integer for any n up to 100, together with the previous central value and the asymptotic approximation 4^n / sqrt(pi n) with its ratio to the exact value. List mode prints the opening sequence: 2, 6, 20, 70, 252, 924, 3,432, 12,870.

Central binomial coefficients sit at a crossroads. Divide one by n + 1 and you get a Catalan number; divide by 4^n and you get the probability that 2n fair coin tosses split exactly evenly; and the 4^n / sqrt(pi n) law governing their growth is one of the cleanest applications of Stirling's approximation in all of combinatorics.

Worked examples

C(20, 10)

(Value at n · 10)

Central binomial coefficient C(20, 10)184,756
previous C(2n-2, n-1)48,620
approximation 4^n / sqrt(pi x n)187,078.97
exact / approximation ratio0.9876

C(10, 5)

(Value at n · 5)

Central binomial coefficient C(10, 5)252
previous C(2n-2, n-1)70
approximation 4^n / sqrt(pi x n)258.37
exact / approximation ratio0.9754

First 8 central binomial coefficients

(First n values · 8)

First 8 central binomial coefficients2, 6, 20, 70, 252, 924, 3,432, 12,870
last term12,870
each term countsthe ways to choose half of 2n objects
next term would be48,620

The middle of Pascal's triangle

In row 2n of Pascal's triangle the entries rise toward the middle and fall symmetrically, and the peak entry is C(2n, n). For row 20 the peak is C(20, 10) = 184,756 - the single most likely split of twenty objects, and the denominator in countless probability calculations. The calculator's value mode names both n and 2n in the label so the row is never in doubt.

The 'choose half' reading is the one to keep: C(2n, n) counts committees of n from 2n people, lattice paths with exactly n right-steps among 2n steps, and hands of n cards from a double deck. One number, many costumes.

  • C(20, 10) = 184,756, the peak of row 20
  • C(10, 5) = 252
  • Counts: choose n of 2n, evenly split paths, even splits of tosses

The 4^n / sqrt(pi n) law

Stirling's approximation applied to (2n)! / (n!)^2 gives C(2n, n) ~ 4^n / sqrt(pi n). The calculator prints this approximation and the exact-to-approximate ratio beside every value, so the convergence is something you can watch: the ratio approaches 1 as n grows and is within a fraction of a percent by n = 200.

The 4^n factor is the exponential growth - each increment of n multiplies the coefficient by nearly 4 - while the sqrt(pi n) denominator is the polynomial correction. That separation, exponential engine plus polynomial brake, is the typical shape of central-limit counting, and this coefficient is its simplest exhibit.

  • C(2n, n) ~ 4^n / sqrt(pi n)
  • Ratio to exact value printed for every n
  • Within a fraction of a percent by n = 200

Catalan numbers and coin tosses

Divide C(2n, n) by n + 1 and the result is the n-th Catalan number - the count of correctly bracketed expressions, binary trees and non-crossing partitions. The central coefficient is thus the Catalan family's parent sequence, and this site's Catalan calculator is one division away from this page's output.

Divide instead by 4^n - the total number of outcome sequences of 2n fair tosses, counted with multiplicity - and you get the probability of an exactly even split, which decays like 1 / sqrt(pi n). Even splits are the most likely single outcome yet become improbable in absolute terms: a memorable consequence of the same formula.

  • C(2n, n) / (n + 1) is the Catalan number
  • C(2n, n) / 4^n is the even-split probability
  • That probability decays like 1 / sqrt(pi n)

Computing it exactly

The calculator builds C(2n, n) by the multiplicative recurrence, multiplying by (n + k) / k term by term. The pleasant arithmetic fact is that every intermediate result is an integer - the partial products are themselves binomial coefficients - so the computation is exact at every step with no fractions to round.

With arbitrary-precision integers the exactness extends to n = 100, where C(200, 100) has 59 digits. The approximation beside it can then be audited digit by digit: at that size the 4^n / sqrt(pi n) law is a precision instrument, not a rough guess.

  • Term-by-term product; every intermediate is an integer
  • Exact to n = 100 (59-digit results)
  • Approximation auditable against the exact value

The opening sequence

For n = 1, 2, 3, ... the central coefficients run 2, 6, 20, 70, 252, 924, 3,432, 12,870. List mode prints them, and their ratios - 3, 3.33, 3.5, 3.6 - visibly climb toward the limiting ratio 4 promised by the asymptotic law. Few sequences wear their growth law so openly.

The next term after the listed eight is C(18, 9) = 48,620, which the list mode reports as a check on where the sequence is heading. From 2 to 48,620 in nine steps is the 4^n engine at work, already unmistakable in single-digit n.

  • First values: 2, 6, 20, 70, 252, 924, 3,432, 12,870
  • Ratios climb toward 4
  • Next term C(18, 9) = 48,620

Where central coefficients appear

Beyond Pascal's triangle, C(2n, n) counts the returns to zero of a one-dimensional random walk after 2n steps - the core quantity in fluctuation theory - and it normalises the arcsine laws for occupation times. In analysis it is the coefficient that controls the radius and boundary behaviour of the generating function 1 / sqrt(1 - 4x).

That generating function explains the 4^n: the singularity at x = 1/4 sets the exponential growth, and the square-root shape sets the sqrt(pi n) correction. A single coefficient, read through its generating function, displays the whole mechanism of its own asymptotics.

  • Random-walk returns to zero after 2n steps
  • Generating function 1 / sqrt(1 - 4x)
  • Singularity at 1/4 drives the 4^n growth

Prime factors of the central coefficient

A classical result gives the central coefficient a number-theoretic edge: every prime p with n < p <= 2n divides C(2n, n) exactly once, a fact that sits underneath one of the elementary proofs of Bertrand's postulate - there is always a prime between n and 2n. The coefficient's size and its prime content are two faces of the same formula.

That connection is a good reminder that C(2n, n) is not only a counting number. Its exact value - which this page computes to 59 digits at n = 100 - is simultaneously a probability denominator, a Catalan parent and a small theorem about primes.

  • Primes between n and 2n divide C(2n, n)
  • The fact underlies Bertrand's postulate proofs
  • One value, several mathematical lives

Checking the approximation yourself

The ratio line invites a small experiment: compute the coefficient at n = 5, 10 and upward and watch the exact-to-approximate ratio close on 1. At n = 5 the approximation 4^5 / sqrt(5 pi) overshoots visibly; by the top of the range the two agree to a fraction of a percent. Stirling's approximation is often quoted and rarely watched converging - here the convergence is three clicks apart.

For practical work the lesson cuts both ways. At small n the asymptotic shortcut is not safe for exact counting - use the exact value, which this page provides. At large n the approximation is excellent and the exact integer is the luxury. Knowing which regime you are in is the skill the ratio line teaches.

  • Ratio closes on 1 as n grows - watch it
  • Small n: trust the exact value, not the shortcut
  • Large n: the approximation is a precision tool

Using the calculator

Value mode is built for audits: exact value, previous central coefficient, approximation and ratio in one view. If you are checking a probability computation, the ratio line tells you whether the asymptotic shortcut was safe at your n; if you are checking a Catalan computation, divide the exact value by n + 1.

List mode is for pattern work - ratios, growth, and spotting the sequence in the wild. A count that doubles-ish twice per step and sits in the middle of a binomial row is almost always this coefficient.

  • Value mode: exact, previous, approximation, ratio
  • List mode: growth patterns at a glance
  • Divide by n + 1 to cross-check Catalan work

FAQs

What is the central binomial coefficient C(20, 10)?

C(20, 10) = 184,756 - the largest entry in row 20 of Pascal's triangle.

What does C(2n, n) count?

The ways to choose n of 2n objects - exactly half - and equivalently the evenly split outcomes in many counting problems.

What are the first central binomial coefficients?

2, 6, 20, 70, 252, 924, 3,432, 12,870.

How accurate is 4^n / sqrt(pi n)?

Very: the ratio of exact to approximate tends to 1 and is within a fraction of a percent by n = 200. The calculator prints the ratio for your n.

How do central binomial coefficients give Catalan numbers?

Divide by n + 1: C(2n, n) / (n + 1) is the n-th Catalan number.

What is C(10, 5)?

C(10, 5) = 252.

Sources

Related calculators

Catalan Number Calculator
The Catalan numbers — C(2n, n) divided by (n + 1) — counting bracketings, binary trees, polygon triangulations and lattice paths that never cross the diagonal.
Binomial Expansion Calculator
Expand (x + c)^n term by term with the binomial theorem — Pascal's triangle coefficients included.
Stirling Numbers Calculator
Stirling numbers of the second kind S(n, k) - the ways to partition n items into k groups - with the Bell number.