Skip to content
All LaTeX symbols

Binomial coefficient / choose (n choose k)

Operators

(ⁿₖ)

LaTeX command

\binom{n}{k}

Use inside math mode: $\binom{n}{k}$ — needs \usepackage{amsmath}

\binom is the amsmath command and is what KaTeX supports. The older \choose is a plain-TeX primitive that still works in LaTeX but is discouraged because it needs the enclosing braces to behave.

All ways to write it

CommandUsePackageCopy
\binom{n}{k}—amsmath
{n \choose k}old TeX form, still worksnone
\dbinom{n}{k}display sizeamsmath
\tbinom{n}{k}text sizeamsmath
C(n, k)function notationnone
{}^{n}C_{k}prescript notationnone

Commands marked with a package need that \usepackage line in a LaTeX document.

Example

(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^{k}

The binomial theorem.

Questions

Does \choose work in KaTeX?

Yes, both \binom and {n \choose k} render in KaTeX and MathJax.

Related symbols

Using choose in Confluence

Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type \binom{n}{k} and it renders inline or as a block, with a live preview while you edit. Every command on this page renders there without extra packages.