Ramanujan Factorial Approximation (2012)
johndcook.comRamanujan 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 … Read more