login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A051123
a(n) = Fibonacci(n) OR Fibonacci(n+1).
4
1, 1, 3, 3, 7, 13, 13, 29, 55, 55, 127, 217, 249, 505, 891, 1019, 2047, 3645, 6749, 6781, 15087, 28655, 28671, 65521, 111921, 130865, 262003, 458611, 514551, 1047229, 1882877, 3522525, 3538919, 7849959, 14666991, 15719929, 32759801
OFFSET
0,3
EXAMPLE
Fibonacci(6) = 8 = 1000_2, Fibonacci(7) = 13 = 1101_2, logical "OR" is 1101_2 = 13, so a(6)=13.
PROG
(PARI) a(n) = bitor(fibonacci(n), fibonacci(n+1)); \\ Michel Marcus, Mar 06 2020
CROSSREFS
KEYWORD
nonn,easy,base
EXTENSIONS
More terms from Robert Lozyniak (11(AT)onna.com)
STATUS
approved