Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the inverse factorial of a strictly positive integer by solving the gamma function for a specific value
ResourceFunction["InverseFactorial"][n] computes the inverse factorial of the positive integer n. |
Find the inverse factorial of 24:
In[1]:= | ![]() |
Out[1]= | ![]() |
Check the answer:
In[2]:= | ![]() |
Out[2]= | ![]() |
InverseFactorial can compute results for inputs that are not factorials of integers:
In[3]:= | ![]() |
Out[3]= | ![]() |
Find the inverse factorial of 403:
In[4]:= | ![]() |
Out[4]= | ![]() |
Check the answer:
In[5]:= | ![]() |
Out[5]= | ![]() |
Find the inverse factorial of 2022:
In[6]:= | ![]() |
Out[6]= | ![]() |
Find the numerical value to 1000 digits:
In[7]:= | ![]() |
Out[7]= | ![]() |
The function only accepts integers:
In[8]:= | ![]() |
Out[8]= | ![]() |
The argument must be greater than 0:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License