Rising Factorial in LaTeX (n^{(k)})
- LaTeX command
n^{(k)}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Rising factorial written with a parenthesized superscript: n(n+1)...(n+k-1).
This notation, common in combinatorics and probability, denotes the rising factorial n^{(k)} = n(n+1)\cdots(n+k-1) = \Gamma(n+k)/\Gamma(n). It is ambiguous: in calculus f^{(k)} is the k-th derivative, and some authors use x^{(k)} for the falling factorial instead. Knuth's n^{\overline{k}} or the special-functions Pochhammer symbol (n)_k are alternatives, though the latter clashes with the combinatorial falling factorial. The parentheses must sit inside the superscript braces, ^{(k)}. Rising factorials count ordered placements of k balls into n ordered tubes.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Rising Factorial: $n^{(k)}$
\[ n^{(k)} = n(n+1)\cdots(n+k-1) = \frac{\Gamma(n+k)}{\Gamma(n)} \]
\end{document}Related symbols
- Stirling First Kind
\genfrac{[}{]}{0pt}{}{n}{k} - Falling Factorial
(n)_k - Stirling Second Kind
\genfrac{\{}{\}}{0pt}{}{n}{k} - Multinomial
\binom{n}{k_1, k_2, \ldots, k_m} - Bell Number
B_n - Permutation (nPr)
P(n, k)
Frequently asked questions
- How do I write Rising Factorial in LaTeX?
- Type n^{(k)} in math mode, for example $n^{(k)} = n(n+1)\cdots(n+k-1) = \frac{\Gamma(n+k)}{\Gamma(n)}$. 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