cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

Keywords

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,....
		

Crossrefs

Extensions

Edited by N. J. A. Sloane, Aug 21 2012