OFFSET
0,4
FORMULA
a(3n) = A000302(n), a(3n+1) = a(3n+2) = 0. - Alois P. Heinz, Dec 10 2020
EXAMPLE
When powers of 4 are written in binary (see A098608), under each other as:
0000000000001 (1)
0000000000100 (4)
0000000010000 (16)
0000001000000 (64)
0000100000000 (256)
0010000000000 (1024)
1000000000000 (4096)
and one collects their bits from the column=0 to NW-direction (from the least to the most significant end), one gets 1 (1), 00 (0), 000 (0), 0100 (4), 00000 (0), 000000 (0), 0010000 (16), etc. (see 0105033 for similar transformation done on nonnegative integers)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Philippe Deléham, Jan 06 2008
STATUS
approved