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
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Sep 8, 2022 | Ramanujan Factorial Approximation (2012) by wglb | 133 | 34 |