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.