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.

A079471 Fixed points of reversed binary words in reversed lexicographic order.

Original entry on oeis.org

0, 1, 6, 10, 18, 34, 60, 66, 92, 108, 116, 130, 156, 172, 180, 204, 212, 228, 258, 284, 300, 308, 332, 340, 356, 396, 404, 420, 452, 514, 540, 556, 564, 588, 596, 612, 652, 660, 676, 708, 780, 788, 804, 836, 900, 1026, 1052, 1068, 1076, 1100, 1108, 1124
Offset: 0

Views

Author

Joerg Arndt, Jan 15 2003

Keywords

Comments

These are 0 and the words where the bit count is 2^i where i is the index of the lowest set bit.

Examples

			Zero is a fixed point: 0: ...........
The next few in decimal and binary form (dots for zeros), lowest (rightmost) bit has index zero are:
1: ............1
6: ..........11.
10: ........1.1.
18: .......1..1.
34: ......1...1.
60: ......1111..
66: .....1....1.
92: .....1.111..
108: ....11.11..
116: ....111.1..
130: ...1.....1.
		

Programs

  • Mathematica
    Join[{0},Select[Range[10^4],DigitCount[#,2,1]==2^IntegerExponent[#,2]&]] (* Paolo Xausa, Nov 13 2023 *)