a(1)=1. a(n) is smallest positive integer not occurring earlier in the sequence such that a(n) and a(n-1) have at least one 1-bit in the same position when they are written in binary.
A115510
a(1)=1. a(n) is smallest positive integer not occurring earlier in the sequence such that a(n) and a(n-1) have at least one 1-bit in the same position when they are written in binary.
Terms
- a(0) =1a(1) =3a(2) =2a(3) =6a(4) =4a(5) =5a(6) =7a(7) =9a(8) =8a(9) =10a(10) =11a(11) =12a(12) =13a(13) =14a(14) =15a(15) =17a(16) =16a(17) =18a(18) =19a(19) =20a(20) =21a(21) =22a(22) =23a(23) =24a(24) =25a(25) =26a(26) =27a(27) =28a(28) =29a(29) =30
External references
- oeis: A115510