Looking for a function to solve for $k$ in a binomial coefficient. $n \choose k$

108 Views Asked by At

Looking for a straightforward function $f(n,a) = k $. In other words solve for $k$ in ${n \choose k} = a $ for any given $n$ and $a$.

If it could be valid for non-natural values of $k$ as well that would be wondeful. (I'm missing the background knowledge of the gamma function to know if this even possible).

Thank you.