Given the Euler constant, computed by this formula $$\sum_{n=0}^{\infty}\frac{2n+1}{(2n)!} $$ n is positive integer, it represents sum of fractions starting from $0$ to infinity.We are given a number $p$ and we are asked to find the minimal k , for which the sum of all fractions from $0$ to $k$ has exactly $p$ digits and the $p$-th digit will never change no matter how much more we add.
For example Let us say we are given p = 4.Then our number from the first 4 digits is $2.718$ (The first 100 digits can be found here - https://miniwebtool.com/first-n-digits-of-e/?number=100 ) and I want to find out for which minimal $k$ when summing in the formula above we will get us to number with 4 digits and if we add the other terms to infinity the first 4 digits will never change.The answer is $k$ =3 because it is the sum $ 1.0 + 1.50 + 0.20833333 + 0.00972222 $ this is the sum for $n = [0;3];$ and the next fractions when added don't change the 4-th digit so the answer is k = 3.
Is the a formula to calculate this? Or some kind of approximation or upper bound for k when this will happen?