Falling Factorial in LaTeX ((n)_k)
- LaTeX command
(n)_k- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Falling factorial in combinatorial notation: n(n-1)...(n-k+1), the product of k decreasing factors.
(n)_k counts injective maps from a k-set to an n-set and equals n!/(n-k)! for integers. Warning: this Pochhammer-style notation is ambiguous, because in special functions (a)_n means the rising factorial. Knuth's notation, n^{\underline{k}} for falling and n^{\overline{k}} for rising, removes the ambiguity and is used in Concrete Mathematics; it is typed with \underline and \overline in the exponent. Falling factorials convert to ordinary powers via Stirling numbers: x^n = \sum_k S(n,k)(x)_k. Define your notation explicitly in the paper.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Falling Factorial: $(n)_k$
\[ (n)_k = n(n-1)\cdots(n-k+1) = n^{\underline{k}} \]
\end{document}Related symbols
- Rising Factorial
n^{(k)} - Multinomial
\binom{n}{k_1, k_2, \ldots, k_m} - Stirling First Kind
\genfrac{[}{]}{0pt}{}{n}{k} - Permutation (nPr)
P(n, k) - Stirling Second Kind
\genfrac{\{}{\}}{0pt}{}{n}{k} - Combination (nCr)
C(n, k)
Frequently asked questions
- How do I write Falling Factorial in LaTeX?
- Type (n)_k in math mode, for example $(n)_k = n(n-1)\cdots(n-k+1) = n^{\underline{k}}$. It works in plain LaTeX without loading any package.
- Which package do I need for (n)_k?
- None. (n)_k is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use (n)_k in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $(n)_k$ in running text.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers