login
A108021
Numbers n whose binary representation is the first Fibonacci(n) binary digits of the pattern 1010101010101010...
0
1, 1, 2, 5, 21, 170, 5461, 1398101, 11453246122, 24019198012642645, 412646679761793424966374741, 14867163465687082094357145515098907670653610, 9202328462387418383246341149702700603268145296227182073550032298399061
OFFSET
1,3
EXAMPLE
a(6)=170 because the sixth Fibonacci number is 8 and thus the first eight digits of the pattern give the binary number 10101010, which is 170 in base 10.
a(7) is the decimal translation of the first 13 (seventh Fibonacci number) digits of 101010..., giving 5461.
MATHEMATICA
Module[{nn=20, p}, p=PadRight[{}, Fibonacci[nn], {1, 0}]; Table[ FromDigits[ Take[ p, n], 2], {n, Fibonacci[Range[nn]]}]] (* Harvey P. Dale, Apr 08 2015 *)
CROSSREFS
Sequence in context: A358316 A176527 A117261 * A162437 A357871 A216756
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, May 31 2005
EXTENSIONS
Corrected and extended by Harvey P. Dale, Apr 08 2015
STATUS
approved