OFFSET
0,2
COMMENTS
a(n) is also the greatest Fibonacci number whose binary expansion has n+1 digits.
FORMULA
2^n <= A340399(n) <= a(n) < 2^(n+1).
PROG
(PARI) a(n) = my (g=0); for (i=1, oo, my (f=fibonacci(i)); if (f>=2^(n+1), return (g), g=f))
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jan 06 2021
STATUS
approved