The Math Forum

Ask Dr. Math - Questions and Answers from our Archives
Associated Topics || Dr. Math Home || Search Dr. Math

Stirling's Approximation

Date: 05/16/2001 at 01:28:08
From: faith
Subject: Factorials

My dad and I are trying to figure out if there is a way to get the 
answer to a factorial without having to multiply out all the numbers.

Date: 05/16/2001 at 11:42:07
From: Doctor Rob
Subject: Re: Factorials

Thanks for writing to Ask Dr. Math, Faith.

If you need all the digits, there is no better way. If you just need 
an approximate answer, there is Stirling's Approximation:

   sqrt(2*Pi*n)*(n/e)^n <= n! <= sqrt(2*Pi*n)*(n/e)^n*(1+1/[12*n-1])

where Pi = 3.14159265 and e = 2.71828183, approximately.

- Doctor Rob, The Math Forum   
Associated Topics:
High School Number Theory
High School Permutations and Combinations

Search the Dr. Math Library:

Find items containing (put spaces between keywords):
Click only once for faster results:

[ Choose "whole words" when searching for a word like age.]

all keywords, in any order at least one, that exact phrase
parts of words whole words

Submit your own question to Dr. Math

[Privacy Policy] [Terms of Use]

Math Forum Home || Math Library || Quick Reference || Math Forum Search

Ask Dr. MathTM
© 1994- The Math Forum at NCTM. All rights reserved.