login
Positions where 2 occurs in decimal expansion of e (starting count at decimal point).
0

%I #8 Sep 20 2016 15:00:46

%S 4,8,16,22,30,33,40,62,65,87,92,98,101,111,119,131,138,145,148,162,

%T 164,167,178,182,193,216,238,252,253,273,279,297,306,316,333,341,346,

%U 358,365,371,382,391,402,410,426,430,432,440,490,500,508,512,517,518,528

%N Positions where 2 occurs in decimal expansion of e (starting count at decimal point).

%e 2 first occurs at the 4th position to the right of the decimal point.

%t Rest[Flatten[Position[RealDigits[E,10,600][[1]],2]]]-1 (* _Harvey P. Dale_, Sep 20 2016 *)

%Y Cf. A001113.

%K easy,nonn,base

%O 0,1

%A _Enoch Haga_, Feb 16 2000