login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136037 Numbers with at least three adjacent equal digits in binary representation. 5
7, 8, 14, 15, 16, 17, 23, 24, 28, 29, 30, 31, 32, 33, 34, 35, 39, 40, 46, 47, 48, 49, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 78, 79, 80, 81, 87, 88, 92, 93, 94, 95, 96, 97, 98, 99, 103, 104, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..2000

MATHEMATICA

Select[Range[150], SequenceCount[IntegerDigits[#, 2], {x_, x_, x_}]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 04 2020 *)

PROG

(Python)

def ok(n): b = bin(n)[2:]; return "000" in b or "111" in b

print(list(filter(ok, range(120)))) # Michael S. Branicky, Jul 08 2021

CROSSREFS

Cf. A007088.

Complement of A063037; union of A004779 and A004781.

Supersequence of A037970.

Sequence in context: A060754 A196129 A286261 * A085334 A047274 A037368

Adjacent sequences:  A136034 A136035 A136036 * A136038 A136039 A136040

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, Dec 11 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 13:27 EDT 2021. Contains 346447 sequences. (Running on oeis4.)