John D. Cook personal blog

Ramanujan Factorial Approximation (2012)

Ramanujan came up with an approximation for factorial that resembles Stirling's famous approximation but is much more accurate. As with Stirling's approximation, the relative error in Ramanujan's approximation decreases as n gets larger. Typically these approximations are not useful for small values of n. For n = 5…
Points
133
HN comments
34
Submissions
1
Cited by
0 commenters

Math & Algorithms2022

On Hacker News

SubmittedTitle on HNPointsComments
Sep 8, 2022Ramanujan Factorial Approximation (2012) by wglb13334

More from John D. Cook

All 79 posts →

Related posts from the same era