Article 6HH5V Square root factorial

Square root factorial

by
John
from John D. Cook on (#6HH5V)

What factorial is closest to the square root of 2024 factorial?

A good guess would be 1012, based on the idea that (n!) might be near (n/2)!.

This isn't correct-the actual answer is 1112-but it's not wildly off.

Could it be that (2n)! is asymptotically (n!)^2?

No, Gauss' duplication formula

gamma_multiplication_simple.png

shows that the ratio of (2n)! to (n!)^2 grows exponentially as a function of n.

However, the ratio only grows exponentially, and factorials grow faster than exponentially. I believe that the value of m minimizing

| (n!) - m! |

asymptotically approaches n/2. In other words, the inverse factorial of (n!) approaches n/2. And more generally the inverse factorial of (n!)1/k asymptotically approaches n/k. I haven't written out a proof, but the plot below shows numerical evidence.

inv_fact_ratio.png

So (n!) is not asymptotically (n/2)!, but the inverse factorial of (n!) is asymptoticallyn/2.

See the next post for a way to compute inverse factorials.

The post Square root factorial first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments