login
A072354
a(n)-th Fibonacci number is the smallest Fibonacci number containing n digits.
12
1, 7, 12, 17, 21, 26, 31, 36, 40, 45, 50, 55, 60, 64, 69, 74, 79, 84, 88, 93, 98, 103, 107, 112, 117, 122, 127, 131, 136, 141, 146, 151, 155, 160, 165, 170, 174, 179, 184, 189, 194, 198, 203, 208, 213, 217, 222, 227, 232, 237
OFFSET
1,2
LINKS
FORMULA
For n>1, a(n) = floor(n*c) (+3) or (+2) where c=log(10)/log(Phi) and Phi is the golden ratio = (1+sqrt(5))/2. - Benoit Cloitre, Aug 21 2002
For n>1, a(n) = A072353(n-1) + 1. - Michel Marcus, Jun 01 2014
EXAMPLE
a(3) = 12 as the 12th Fibonacci number is the smallest Fibonacci number with 3 digits.
MATHEMATICA
Flatten[Table[Position[IntegerLength[Fibonacci[Range[250]]], n, {1}, 1], {n, 50}]] (* Harvey P. Dale, Dec 22 2015 *)
PROG
(PARI) a(n)={my(k=1); while(logint(fibonacci(k), 10)<n-1, k++); k} \\ Harry J. Smith, Nov 29 2008
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 18 2002
STATUS
approved