a(1)=1; thereafter a(n) = smallest positive integer not among the earlier terms of the sequence such that a(n) and a(n-1) have no common 1-bits in their binary representations.
A109812
a(1)=1; thereafter a(n) = smallest positive integer not among the earlier terms of the sequence such that a(n) and a(n-1) have no common 1-bits in their binary representations.
Terms
- a(0) =1a(1) =2a(2) =4a(3) =3a(4) =8a(5) =5a(6) =10a(7) =16a(8) =6a(9) =9a(10) =18a(11) =12a(12) =17a(13) =14a(14) =32a(15) =7a(16) =24a(17) =33a(18) =20a(19) =11a(20) =36a(21) =19a(22) =40a(23) =21a(24) =34a(25) =13a(26) =48a(27) =15a(28) =64a(29) =22
External references
- oeis: A109812