OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
Fibonacci(6) = 8 = 1000_2, Fibonacci(7) = 13 = 1101_2, logical "AND" is 1000_2 = 8, so a(6)=8.
MATHEMATICA
Table[BitAnd[Fibonacci[n + 1], Fibonacci[n]], {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Feb 21 2012 *)
BitAnd@@@Partition[Fibonacci[Range[0, 50]], 2, 1] (* Harvey P. Dale, Sep 30 2017 *)
PROG
(PARI) a(n) = bitand(fibonacci(n), fibonacci(n+1)); \\ Michel Marcus, Mar 06 2020
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
EXTENSIONS
More terms from Robert Lozyniak (11(AT)onna.com)
STATUS
approved