A174208 Write natural numbers in base 2 as a stream of digits. Moving left to right, delete odd occurrences of digit 0 and even occurrences of digit 1.
1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1
Offset: 0
Examples
Numbers in base 2: 0, 1, 10, 11, 100, 101, 110, 111, 1000..... Stream of digits: 0110111001011101111000... Delete odd occurrences of 0 (replace by ~): ~110111~01~11101111~0~... Delete even occurrences of 1 (replace by ~): ~1~01~1~0~~1~10~1~1~0~... This leaves the digits: 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0,....
Extensions
Edited by N. J. A. Sloane, Aug 21 2012