login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A001163 Stirling's formula: numerators of asymptotic series for Gamma function.
(Formerly M5400 N2347)
12
1, 1, 1, -139, -571, 163879, 5246819, -534703531, -4483131259, 432261921612371, 6232523202521089, -25834629665134204969, -1579029138854919086429, 746590869962651602203151, 1511513601028097903631961, -8849272268392873147705987190261, -142801712490607530608130701097701 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

REFERENCES

M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math.Series 55, Tenth Printing, 1972, p. 257, Eq. 6.1.37.

L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 267, #23.

V. De Angelis, Stirling's series revisited, Amer. Math. Monthly, 116 (2009), 839-843.

G. Marsaglia and J. C. W. Marsaglia, A new derivation of Stirling's approximation to n!, Amer. Math. Monthly, 97 (1990), 827-829. MR1080390 (92b:41049)

T. Mueller, Finite group actions and asymptotic expansion of e^P(z), Combinatorica, 17 (4) (1997), 523-554.

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

J. W. Wrench, Jr., Concerning two series for the gamma function, Math. Comp., 22 (1968), 617-626.

LINKS

T. D. Noe, Table of n, a(n) for n=0..100

M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].

M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math.Series 55, Tenth Printing, 1972, p. 257, Eq. 6.1.37.

S. Brassesco, M. A. Méndez, The asymptotic expansion for the factorial and Lagrange inversion formula, arXiv:1002.3894v1 [math.CA]

Peter Luschny, Approximations to the factorial function

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

FORMULA

The coefficients c_k have g.f. 1 + Sum_{k >= 1} c_k/z^k = exp( Sum_{k >= 1} B_{2k}/(2k(2k-1)z^(2k-1)) ).

EXAMPLE

Gamma(z) ~ sqrt(2*Pi) * z^(z-1/2) * e^(-z) * (1 + 1/(12*z) + 1/(288*z^2) - 139/(51840*z^3) - 571/(2488320*z^4) + ... ), z -> infinity in |arg z| < Pi.

MAPLE

h := proc(k) option remember; local j;

`if`(k=0, 1, (h(k-1)/k-add((h(k-j)*h(j))/(j+1), j=1..k-1))

/(1+1/(k+1))) end:

StirlingAsympt := proc(n) option remember;

h(2*n)*2^n*pochhammer(1/2, n) end proc:

A001163 := n -> numer(StirlingAsympt(n));

A001164 := n -> denom(StirlingAsympt(n));

seq(A001163(n), n=0..30);

seq(A001164(n), n=0..30); # Peter Luschny, Feb 08 2011

MATHEMATICA

Numerator[ Reverse[ Drop[ CoefficientList[ Simplify[ PowerExpand[ Normal[ Series[n!, {n, Infinity, 17}]]Exp[n]/(Sqrt[2Pi n]*n^(n - 17))]], n], 1]]]

PROG

(PARI) a(n)=local(A, m); if(n<1, n==0, A=vector(m=2*n+1, k, 1); for(k=2, m, A[k]=(A[k-1]-sum(i=2, k-1, i*A[i]*A[k+1-i]))/(k+1)); numerator(A[m]*m!/2^n/n!)) /* Michael Somos Jun 09 2004 */

CROSSREFS

Cf. A001164.

Cf. A097303 (see W. Lang link there for a similar numerator sequence which deviates for the first time at entry number 33. Expansion of GAMMA(z) in terms of 1/(k!*z^k) instead of 1/z^k).

Sequence in context: A142563 A142213 A142137 * A140791 A175017 A158527

Adjacent sequences:  A001160 A001161 A001162 * A001164 A001165 A001166

KEYWORD

sign,frac,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Vladeta Jovovic (vladeta(AT)eunet.rs), Nov 14 2001

Signs added by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 12 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 12 16:11 EST 2012. Contains 205432 sequences.