login
First occurrence of n as a term in the continued fraction for log(5).
0

%I #10 Jun 29 2015 02:57:15

%S 1,20,6,11,19,12,24,26,32,66,112,45,68,318,64,52,58,41,101,62,1168,

%T 299,291,189,74,110,122,200,287,755,734,73,1619,71,415,268,191,1700,

%U 27,17,547,468,3224,3510,690,78,3064,258,487,1801,2138,3911,155,811,1121

%N First occurrence of n as a term in the continued fraction for log(5).

%t Flatten[Table[Position[ContinuedFraction[Log[5],6000],n,{1},1],{n,60}]] (* _Harvey P. Dale_, Jun 26 2013 *)

%o (PARI) (1500 precision digits) v=contfrac(log(5)); a(n)=if(n<0,0,s=1; while(abs(n-component(v,s))>0,s++); s)

%Y Cf. A032523.

%K base,nonn

%O 1,2

%A _Benoit Cloitre_, Oct 20 2002