login
Smallest missing number in first 10^n digits after the decimal point in expansion of e.
2

%I #29 Jun 15 2023 07:43:52

%S 0,10,100,1000,1769,92994,102114,1034207,10034992

%N Smallest missing number in first 10^n digits after the decimal point in expansion of e.

%e a(1) = 0 because number 0 is missing in first 10^1 = 10 digits after decimal point in expansion of e, that is, 2.7182818284.

%t Do[With[{r = ToString[FromDigits[Rest[RealDigits[E, 10, 10^k][[1]]]]]}, Do[If[StringPosition[r, ToString[n]] == {}, Print[n]; k = k + 1; Break[]], {n, 0, 10000000}]], {k, 1, 7}]

%Y Cf. A001113, A228988, A228990.

%K nonn,base,more

%O 1,2

%A _Shyam Sunder Gupta_, Sep 10 2013

%E Name improved by _Alex Ratushnyak_, Sep 22 2013

%E a(8)-a(9) from _Michael S. Branicky_, Jun 14 2023