login
Positions of 4's in the decimal expansion of exp(1).
2

%I #15 Feb 07 2015 02:28:28

%S 11,15,26,35,42,55,67,78,82,98,101,104,125,135,145,171,173,208,220,

%T 225,229,232,240,241,245,256,263,266,273,276,278,279,281,294,295,325,

%U 336,337,374,375,378,381,399,422,439

%N Positions of 4's in the decimal expansion of exp(1).

%H Vincenzo Librandi, <a href="/A054280/b054280.txt">Table of n, a(n) for n = 1..1000</a>

%t Flatten[Position[RealDigits[E, 10, 1000][[1]], 4]] (* _Vincenzo Librandi_, Oct 07 2013 *)

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000