OFFSET
1,1
FORMULA
Limit_{n->infinity} a(n)/10^n = log(2), where the base is 10. - Robert Gerbicz, Sep 05 2002
EXAMPLE
a(2) = 30 because there are 30 Fibonacci numbers up to 10^2 whose initial digit is 1.
PROG
(PARI) default(realprecision, 10^4); m=log((1+sqrt(5))/2);
lista(nn) = {my(d=log(10)/m, r=log(sqrt(5))/m, s=log(5-sqrt(5))/m, t=0, u=1); for(n=1, nn, u=10*u; while(s<u, if(floor(r+=d)==floor(s+=d), t++, t+=2)); print1(t+(r<u||floor(r)==floor(s)), ", ")); } \\ Jinyuan Wang, Feb 21 2020
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Shyam Sunder Gupta, Aug 15 2002
EXTENSIONS
More terms from Robert Gerbicz, Sep 05 2002
a(9)-a(10) from Jinyuan Wang, Feb 21 2020
a(11) from Sean A. Irvine, Dec 04 2024
STATUS
approved