Write n in binary, then increase each run of 0's by one 0, and increase each run of 1's by one 1. a(n) is the decimal equivalent of the result.

A175046

Write n in binary, then increase each run of 0's by one 0, and increase each run of 1's by one 1. a(n) is the decimal equivalent of the result.

Terms

    a(0) =3a(1) =12a(2) =7a(3) =24a(4) =51a(5) =28a(6) =15a(7) =48a(8) =99a(9) =204a(10) =103a(11) =56a(12) =115a(13) =60a(14) =31a(15) =96a(16) =195a(17) =396a(18) =199a(19) =408a(20) =819a(21) =412a(22) =207a(23) =112a(24) =227a(25) =460a(26) =231a(27) =120a(28) =243a(29) =124

External references