|
|
A051124
|
|
a(n) = Fibonacci(n) XOR Fibonacci(n+1).
|
|
4
|
|
|
1, 0, 3, 1, 6, 13, 5, 24, 55, 21, 110, 201, 121, 400, 795, 441, 1510, 3109, 6733, 2616, 12463, 28653, 10974, 56017, 102449, 65312, 206195, 402993, 197062, 748189, 1587445, 3520472, 1374951, 6472453, 14403630, 7282041, 26431433
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
EXAMPLE
|
Fibonacci(6) = 8 = 1000_2, Fibonacci(7) = 13 = 1101_2, logical "XOR" is 0101_2 = 5, so a(6)=5.
|
|
PROG
|
(PARI) a(n) = bitxor(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
|
|
|
|