A062033 Binary expansion of n does not contain 1-bits at even positions. Integers whose base 4 representation consists of only 0's and 2s.
0, 10, 1000, 1010, 100000, 100010, 101000, 101010, 10000000, 10000010, 10001000, 10001010, 10100000, 10100010, 10101000, 10101010, 1000000000, 1000000010, 1000001000, 1000001010, 1000100000, 1000100010, 1000101000, 1000101010, 1010000000, 1010000010, 1010001000
Offset: 0
Programs
-
Python
def A062033(n): return int(bin(int(bin(n)[2:],4))[2:])*10 # Chai Wah Wu, Aug 21 2023
Extensions
More terms from Chai Wah Wu, Aug 22 2023