OFFSET
0,3
LINKS
Scott R. Shannon, Table of n, a(n) for n = 0..10000
FORMULA
a(1) = 0 as a(0) = 0, and 0 shares no bits in common with 1.
a(2) = 2 as a(0) = 0, a(1) = 0, and 2 = 10_2 has the 0-bit in common with both previous terms.
a(3) = 1 as a(2) = 2 = 10_2 and 3 = 11_2 shares a 1-bit in common with 2.
a(6) = 7 as a(0) = 0, a(1) = 0, a(2) = a(5) = 2 = 10_2, a(4) = 3 = 11_2 and 6 = 110_2 shares four 0-bits and three 1-bits, seven bits in all, with these previous terms.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Jul 15 2022
STATUS
approved