Write n in binary. Insert a 0 in the middle of each pair of two consecutive 1's. a(n) = the decimal value of the result.

A163809

Write n in binary. Insert a 0 in the middle of each pair of two consecutive 1's. a(n) = the decimal value of the result.

Terms

    a(0) =1a(1) =2a(2) =5a(3) =4a(4) =5a(5) =10a(6) =21a(7) =8a(8) =9a(9) =10a(10) =21a(11) =20a(12) =21a(13) =42a(14) =85a(15) =16a(16) =17a(17) =18a(18) =37a(19) =20a(20) =21a(21) =42a(22) =85a(23) =40a(24) =41a(25) =42a(26) =85a(27) =84a(28) =85a(29) =170

External references