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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A044879 Numbers having, in base 8, (sum of even run lengths)=(sum of odd run lengths). 3
513, 514, 515, 516, 517, 518, 519, 521, 530, 539, 548, 557, 566, 575, 577, 578, 579, 580, 581, 582, 583, 592, 593, 595, 596, 597, 598, 599, 600, 601, 602, 604, 605, 606, 607, 608, 609, 610, 611, 613, 614, 615, 616, 617, 618 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..45.

PROG

(Python)

from itertools import groupby

def ok(n):

    rl_sums = [0, 0]

    for k, g in groupby(oct(n)[2:]):

        rl = len(list(g))

        rl_sums[rl%2] += rl

    return rl_sums[0] == rl_sums[1]

print(list(filter(ok, range(619)))) # Michael S. Branicky, Sep 11 2021

CROSSREFS

Cf. A007094.

Cf. A044873, A044874, A044875, A044876, A044877, A044878, A044880.

Cf. A044881, A044882, A044883, A044884, A044885, A044886, A044887.

Sequence in context: A017421 A017553 A087931 * A060947 A182108 A066697

Adjacent sequences:  A044876 A044877 A044878 * A044880 A044881 A044882

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

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 December 6 13:05 EST 2021. Contains 349563 sequences. (Running on oeis4.)