login
a(1)=0; for i>=1, a(i+1)=position of first occurrence of a(i) in decimal expansion of e.
14

%I #9 Jul 15 2013 17:22:13

%S 0,13,27,62,32,110,3188,12078,141356,2085932,3497082,4910326,929922,

%T 1189814,4196683,1301478,19560712,6894489,41960008

%N a(1)=0; for i>=1, a(i+1)=position of first occurrence of a(i) in decimal expansion of e.

%C Recurrence sequence based on positions of digits in decimal places of e.

%e So for example, a(2)=13 because 13th digit of e after decimal point is 0.

%e a(3)=27 because 27th decimal digit of e is 13, a(4)=62 because 62nd to 63rd decimal digits of e form "13" and so on.

%Y Cf. A078197 for the first occurrence of integers in decimal digits of e; A097614 for the analogous recurrence sequence for Pi, also A014777 for positions of integers in decimal digits of Pi.

%K easy,base,nonn

%O 0,2

%A Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 01 2004

%E More terms from Ben Ross (bmr180(AT)psu.edu), Feb 01 2006