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”).

Least Fibonacci number ending with n.
3

%I #12 Mar 13 2015 00:58:28

%S 0,1,2,3,34,5,10946,377,8,89,610,17711,

%T 619220451666590135228675387863297874269396512,13,

%U 70492524767089125814114,659034621587630041982498215,57602132235424755886206198685365216,24157817,196418,114059301025943970552219,1548008755920

%N Least Fibonacci number ending with n.

%C The Fibonacci index of the 12th to 25th terms respectively are 216, 7, 111, 130, 168, 37, 27, 112, 90, 8, 183, 286, 252 and 25.

%e a(11) = 17711 is the smallest Fibonacci number ending in 11.

%p with(combinat):for n from 1 to 40 do e := 1; g := ceil(log(n+1)/log(10)-0.00001): while((fibonacci(e) mod 10^g)<n or (fibonacci(e) mod 10^g)>n) do e := e+1:end do: q[n] := fibonacci(e):end do:seq(q[i],i=1..40);

%t d[n_]:=IntegerDigits[n]; Table[j=0; While[Length[d[Fibonacci[j]]]<(le=Length[y=d[n]]), j++]; i=j; While[Take[d[x=Fibonacci[i]],-le]!=y,i++]; x,{n,0,20}] (* _Jayanta Basu_, May 18 2013 *)

%Y Cf. A000045, A023185, A020344, A020345.

%K nonn,base

%O 0,3

%A _David W. Wilson_