login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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.
3
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,2
PROG
(Python)
def A062033(n): return int(bin(int(bin(n)[2:], 4))[2:])*10 # Chai Wah Wu, Aug 21 2023
CROSSREFS
Decimal representation is given in A062880.
Sequence in context: A168520 A200993 A365704 * A171500 A154027 A013715
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jun 26 2001
EXTENSIONS
More terms from Chai Wah Wu, Aug 22 2023
STATUS
approved