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”).

A165990
Nim sum of distinct consecutive pairs of Lucas Numbers.
1
3, 7, 12, 15, 99, 188, 843, 1567, 1388, 12823, 25739, 24828, 203347, 169975, 1793132, 3247295, 3281747, 33047100, 46475931, 223888367, 464656140, 443782407, 3392754203, 6320720892, 28126943139, 51929697511, 46812642508, 430604078639, 875439722435, 832171221180
OFFSET
0,1
COMMENTS
The nim sum of two numbers is the bitwise exclusive-or of the numbers. - Andrew Howroyd, Apr 13 2021
LINKS
FORMULA
a(n) = A000032(2*n) XOR A000032(2*n+1). - Andrew Howroyd, Apr 13 2021
EXAMPLE
nim sum(2,1) = 3; nim sum(3,4)=7; nim sum(7,11) = 12; nim sum(18,29) = 15; nim sum(47,76) = 99; nim sum(123,199) = 188.
PROG
(PARI)
L(n)={fibonacci(n+1) + fibonacci(n-1)}
a(n)={bitxor(L(2*n), L(2*n+1))} \\ Andrew Howroyd, Apr 13 2021
CROSSREFS
Cf. A000032.
Sequence in context: A122982 A101589 A061559 * A160998 A141205 A310237
KEYWORD
nonn
AUTHOR
Amal Dua (amaldua1992(AT)hotmail.com), Oct 03 2009
EXTENSIONS
Terms a(6) and beyond from Andrew Howroyd, Apr 13 2021
STATUS
approved