OFFSET
0,6
COMMENTS
As F(n)<=L(n), the number of decimal digits of the Lucas number L(n) is at least as large as the number of decimal digits of the Fibonacci number F(n). Furthermore, the difference is at most one. The indices for which the difference is one is A386760.
LINKS
Hans J. H. Tuenter, Table of n, a(n) for n = 0..10000
FORMULA
EXAMPLE
L(0)=2 has one digit, so that a(0)=1; L(5)=11 has two digits, so that a(5)=2.
MAPLE
a:= n-> 1+floor(n*log[10]((1+sqrt(5))/2)):
seq(a(n), n=0..81);
MATHEMATICA
a[n_] := IntegerLength[LucasL[n]]; Array[a, 100, 0] (* Amiram Eldar, Aug 16 2025 *)
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Hans J. H. Tuenter, Aug 06 2025
STATUS
approved
