Article 73BER Γ(1/n)

Γ(1/n)

by
John
from John D. Cook on (#73BER)

If n is a positive integer, then rounding (1/n) up to the nearest integer givesn. In symbols,

gamma_recip.svg

We an illustrate this with the following Python code.

>>> from scipy.special import gamma>>> from math import ceil>>> for n in range(1, 101): ... assert(ceil(gamma(1/n)) == n)

You can find a full proof in [1]. I'll give a partial proof that may be more informative than the full proof.

The asymptotic expansion of the gamma function near zero is

gamma_recip2.svg

where is the Euler-Mascheroni constant.

So when we setz = 1/n we find (1/n) n - +O(1/n^2). Since 0 < < 1, the theorem above is true for sufficiently largen. And it turns out sufficiently large" can be replaced withn >= 1.

[1] Gamma at reciprocals of integers: 12225. American Mathematical Monthly. October 2022. pp 789-790.

The post (1/n) 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