octree
ToolsTemplatesSymbols
Get Started
octree

Free LaTeX tools and templates for everyone.

Menu

  • Learn
  • About
  • Templates
  • Tools
  • Symbols

Learn

  • Learn LaTeX
  • Learn TikZ
  • Learn PGFPlots
  • View all tutorials →

Tools

  • Image to LaTeX
  • Excel to LaTeX
  • TikZ Generator
  • Image to TikZ
  • LaTeX Preview
  • Markdown to LaTeX
  • Citation Generator
  • AI LaTeX Generator
  • View all tools →

Templates

  • Research Paper
  • PhD Thesis
  • Beamer Presentation
  • Academic CV
  • Cover Letter
  • Lab Report
  • NeurIPS 2026
  • ICML 2026
  • View all 71 templates →

Symbols

  • Greek Letters
  • Math Operators
  • Arrows
  • Relations
  • Set Theory
  • Calculus
  • Logic
  • Linear Algebra
  • Browse all 37 categories →

Open Source

  • Octree Editor
  • Tools & Templates
  • Marketing & Blogs
  • View all repositories →

Socials

  • Instagram
  • LinkedIn
  • TikTok
  • X
  • Reddit
  • Discord

© 2026 Octree. All rights reserved.

Back to Symbols

Combinatorics

Factorials, binomials, permutations, combinations, and counting.

Combinatorics symbols in LaTeX

The factorial needs no special command: n! is just the letter and an exclamation mark, and the double factorial is n!!. The binomial coefficient is the most searched symbol in this category. Use amsmath’s \binom{n}{k}, which sizes itself for inline or display math, or force a size with \dbinom and \tbinom. The older {n \choose k} still works but does not play well with amsmath. Multinomial coefficients extend the same command: \binom{n}{k_1, k_2, \ldots, k_m}.

Permutations are usually spelled out as P(n, k) or written with the falling factorial (n)_k or n^{\underline{k}}; the rising factorial is n^{\overline{k}} or the Pochhammer symbol (a)_n. Stirling numbers use bracket and brace versions of a binomial, built with amsmath’s \genfrac: \genfrac{\{}{\}}{0pt}{}{n}{k} for the second kind. Sums and products over index sets are \sum_{k=0}^{n} and \prod_{i=1}^{n}, ellipses are \ldots or \cdots, and the size of a finite set is |A| or \lvert A \rvert.

Add \usepackage{amsmath} for \binom, \genfrac and \lvert; nothing here requires amssymb. For sums, products and fractions in general, see our guide to mathematical expressions in LaTeX.

Loading...