Want to approximate a factorial using Stirling formula? Here is a nice trick: How is Gosper’s approximation to factorial derived?.