OFFSET
0,1
EXAMPLE
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,....
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Mar 15 2010
EXTENSIONS
Edited by N. J. A. Sloane, Aug 21 2012
STATUS
approved