Factorials, nCr & Combinations on a TI-89
Factorial: press 2ND 5 to open the MATH menu, choose 7:Probability, then 1:!. Type the number first, then the !:
5! → 120
Combinations ("n choose r"): use nCr( from the same Probability menu:
nCr(10,4) → 210 (10 choose 4)
Permutations: use nPr(. For example, nPr(10,4) gives 5040.
These steps are for the TI-89 / TI-89 Titanium handheld, from Texas Instruments' guidebook. Our online TI-89 calculator runs PedroM, a free third-party operating system, not Texas Instruments' software, and doesn't support every handheld feature. In the online calculator the factorial sign works (
5!gives120), butnCr(andnPr(are not available (they come back unevaluated).
Where is the factorial button?
The TI-89 has no dedicated x! key, unlike many scientific calculators. The ! operator is in MATH → Probability. Once you've found it:
- Type the number, for example
6. - Press 2ND 5, then 7 (Probability), then 1 (!).
- Press ENTER:
6!→ 720.
You can type ! straight after a number or a parenthesis, so (3+2)! gives 120. The TI-89 works with whole lists too: {5,4,3}! returns {120 24 6}.
Combinations: nCr(
nCr(n, r) counts the ways to choose r items from n when order doesn't matter:
C(n, r) = (n!)⁄(r! (n−r)!)
| Problem | Entry | Result |
|---|---|---|
| 10 choose 4 | nCr(10,4) |
210 |
| A 5-card hand from 52 | nCr(52,5) |
2598960 |
| Binomial coefficient of x3 in (1+x)7 | nCr(7,3) |
35 |
Check by hand: C(10, 4) = (10· 9· 8· 7)⁄(4· 3· 2· 1) = 5040⁄24 = 210.
nCr( is the binomial coefficient, which is the number that appears in binomial probabilities. The binomial distribution tutorial uses it.
Permutations: nPr(
nPr(n, r) counts ordered arrangements:
P(n, r) = (n!)⁄((n−r)!) nPr(10,4) = 10· 9· 8· 7 = 5040
Use permutations when order matters (first, second and third place), and combinations when it doesn't (a committee of three).
Symbolic arguments
Because of the CAS, nCr( and nPr( accept letters as well as numbers. With z holding 5, nPr(z,3) gives 60. Without a stored value, the TI-89 returns a formula in terms of the letter.
Factorials of non-integers and the gamma function
The TI-89 evaluates ! numerically only for non-negative whole numbers. The TI-89 has no gamma function key, but you can compute Γ(x) from its integral definition:
Γ(x) = ∫0∞ tx−1 e−t dt, Γ(n) = (n−1)!
∫(t^4*e^(-t),t,0,∞) → 24 (= Γ(5) = 4!)
∫(t^(-1/2)*e^(-t),t,0,∞) → √π (= Γ(1/2))
Insert ∫( with 2ND 7. If the CAS can't find an exact value, press ♦ ENTER or use nInt( for a decimal.
Common problems
| Problem | Fix |
|---|---|
| A very long number | Factorials grow fast. In exact mode, 20! shows all 19 digits (2432902008176640000). Press ♦ ENTER for about 2.43 × 10¹⁸ |
(-3)! or 2.5! doesn't give a number |
Factorials are only defined numerically for whole numbers ≥ 0. Use the gamma integral for non-integers |
The arguments of nCr are in the wrong order |
It's nCr(total, chosen). nCr(4,10) returns 0 |
Related tutorials
Review note: the handheld keystrokes on this page come from Texas Instruments' TI-89 Titanium guidebook and knowledge base. They have not yet been checked on a physical calculator.
Source: Texas Instruments, TI-89 Titanium guidebook (English) p. 72 and Technical Reference entries for !, nCr( and nPr(, accessed 21 Nov 2026. Values checked with SymPy.