Can the first digits of a binomial coeffecient
$$\binom{n}{k}$$
be calculated, if n and k are very large numbers ?
For example
Calculate the first ten digits of
$$\binom{10^{85}}{10^{23}}$$
Any ideas ?
Can the first digits of a binomial coeffecient
$$\binom{n}{k}$$
be calculated, if n and k are very large numbers ?
For example
Calculate the first ten digits of
$$\binom{10^{85}}{10^{23}}$$
Any ideas ?
Yes, use Stirling approximation to compute fractional part $\log_{10} \binom{10^{85}}{10^{23}}$, exponentiate and retain the desired number of first significant digits.
Getting rid of integer part allows to avoid scale overflow problems.
Here is the computation of first 20 significant digits in Mathematica: