Consider the equation
$x! = y$
Say we know $y$ and were trying to find $x$:
What method could I use to get $x$ (e.g. a closed formula)?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityConsider the equation
$x! = y$
Say we know $y$ and were trying to find $x$:
What method could I use to get $x$ (e.g. a closed formula)?
The factorial function is a special case of the Gamma function, which satisfies for positive integers $n$ $$ \Gamma(n) = (n-1)!, $$ so what you really want is an inverse to this function. In general the inverse is not simple, but this has been discussed here.
Are you insisting that solutions be integer? If so, start by dividing $y$ by $2$, then the quotient by $3$, then the quotient of that by $4$, and so on. If you reach $1$, there is a solution and the last number you divided by is $x$. If you reach smaller than $1$ before reaching $1$, there is no integer solution.