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.

Showing 1-2 of 2 results.

A175054 A positive integer n is included if there is no run of 0's in the binary representation of n that is only one digit long.

Original entry on oeis.org

1, 3, 4, 7, 8, 9, 12, 15, 16, 17, 19, 24, 25, 28, 31, 32, 33, 35, 36, 39, 48, 49, 51, 56, 57, 60, 63, 64, 65, 67, 68, 71, 72, 73, 76, 79, 96, 97, 99, 100, 103, 112, 113, 115, 120, 121, 124, 127, 128, 129, 131, 132, 135, 136, 137, 140, 143, 144, 145, 147, 152, 153, 156
Offset: 1

Views

Author

Leroy Quet, Dec 08 2009

Keywords

Comments

This sequence consists of the terms of A144794 together with those integers of the form 2^k -1.

Crossrefs

Cf. A144794.
Complement of A377167.

Programs

  • Mathematica
    Select[Range@ 160, Select[Split@ IntegerDigits[#, 2], Length[#] == 1 && First[#] == 0 &] == {} &] (* Michael De Vlieger, Sep 03 2017 *)

Extensions

Extended by Ray Chandler, Dec 18 2009

A377169 Nonnegative integers containing isolated ones in their binary representation.

Original entry on oeis.org

1, 2, 4, 5, 8, 9, 10, 11, 13, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 29, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 52, 53, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87
Offset: 1

Views

Author

Paolo Xausa, Oct 18 2024

Keywords

Comments

A 1 is isolated if it's not adjacent to another 1.

Examples

			19 is a term because 19 = 10011_2 contains one isolated 1.
74 is a term because all ones in 74 = 1001010_2 are isolated.
		

Crossrefs

Complement of A144795.

Programs

  • Mathematica
    Select[Range[150], MemberQ[Split[IntegerDigits[#, 2]], {1}] &]
Showing 1-2 of 2 results.