login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

%I #14 Feb 07 2015 02:28:24

%S 12,16,19,30,39,51,53,75,77,80,83,92,94,117,128,137,148,152,154,189,

%T 193,195,203,219,236,270,277,287,302,303,326,333,344,412,413,415,420,

%U 432,442,444,447,457,474,478,511

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

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

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

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000