The Math Forum

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

Gosper's Verstion of Stirling's Formula

Date: 05/30/2002 at 07:01:20
From: Amy Choi
Subject: Stirling's formula

I am doing a project on Stirling's formula, and I found that 
there is a better approximation to n! which was noted by Gosper.

I would like to know a proof of the approximation which is
            n! ˜ sqrt((2n + 1/3)Pi) * n^n * exp(-n)

Thank you.

Date: 05/30/2002 at 09:38:29
From: Doctor Mitteldorf
Subject: Re: Stirling's formula

The derivation comes from expressing the log of the factorial as 
the sum of n logs, then noticing that, for large n, this looks 
like the Riemann sum for the corresponding integral of log(n).  

There's a fuller explanation at

- Doctor Mitteldorf, The Math Forum 

Date: 06/01/2002 at 02:38:25
From: Amy Choi
Subject: Thank you (Stirling's formula)

Thank you for answering my question. That was very helpful.
Associated Topics:
College Number Theory

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.