%I #20 Feb 07 2015 02:28:32
%S 1,5,9,17,23,31,34,41,63,66,88,93,99,102,112,120,132,139,146,149,163,
%T 165,168,179,183,194,217,239,253,254,274,280,298,307,317,334,342,347,
%U 359,366,372,383,392,403,411,427
%N Positions of 2's in the decimal expansion of exp(1).
%H Vincenzo Librandi, <a href="/A054278/b054278.txt">Table of n, a(n) for n = 1..1000</a>
%t Flatten[Position[RealDigits[E, 10, 1000][[1]], 2]] (* _Vincenzo Librandi_, Oct 07 2013 *)
%Y Cf. A001113.
%K nonn,base
%O 1,2
%A _Simon Plouffe_, Feb 20 2000
|