Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A174206
Write natural numbers in base 2 as a stream of digits. Moving left to right, delete even occurrences of digit 0 and 1.
3
0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1
OFFSET
0,1
EXAMPLE
Numbers in base 2: 0, 1, 10, 11, 100, 101, 110, 111, 1000..... Stream of digits: 0110111001011101111000 Delete even occurrences of 0(replaced by ~): 011~1110~10111~11110~0 Delete even occurrences of 1(replaced by ~): 01~~1~10~~01~1~~1~10~0 Left digits: 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0,....
KEYWORD
easy,nonn,base,uned
AUTHOR
STATUS
approved