Factorial (!)
Usage
Notes
Further Examples
Here is a table of the first 20 factorials.
In[1]:=
|
Out[1]//TableForm=
|
Here is a way to invert the factorial function. In other words, InverseFactorial[n!] gives n when n is a positive integer.
In[2]:=
|
In[3]:=
|
This checks the result for the first factorials.
In[4]:=
|
Out[4]=
|
There is no integer k such that k! + .
In[5]:=
|
Out[5]=
|
has approximately digits yet InverseFactorial returns the correct answer quickly.
In[6]:=
|
Out[6]=
|
In[7]:=
|
Out[7]=
|
|