a(1) = 1. For n >=2, a(n) = the smallest integer > a(n-1) such that both a(n) and a(n)-a(n-1) have the same number of (non-leading) 0's when they are represented in binary.

A160825

a(1) = 1. For n >=2, a(n) = the smallest integer > a(n-1) such that both a(n) and a(n)-a(n-1) have the same number of (non-leading) 0's when they are represented in binary.

Terms

    a(0) =1a(1) =6a(2) =7a(3) =13a(4) =22a(5) =26a(6) =44a(7) =52a(8) =88a(9) =104a(10) =176a(11) =208a(12) =352a(13) =416a(14) =704a(15) =832a(16) =1408a(17) =1664a(18) =2816a(19) =3328a(20) =5632a(21) =6656a(22) =11264a(23) =13312a(24) =22528a(25) =26624a(26) =45056a(27) =53248a(28) =90112a(29) =106496

External references