0,4

Inspired by Andrew Weimholt's observation that A318921(A175046(n)) = A001477(n).

As in A318921, the empty string is represented by 0.

a(n) = n iff every run in the binary expansion of n has length at least 2, and otherwise a(n) < n.

Rémy Sigrist, Table of n, a(n) for n = 0..16384

Cf. A318921, A175046, A001477.

Sequence in context: A337981 A341761 A181787 * A285213 A285339 A344931

Adjacent sequences: A318922 A318923 A318924 * A318926 A318927 A318928

nonn,look,hear,base

N. J. A. Sloane, Sep 09 2018

More terms from Rémy Sigrist, Sep 09 2018

approved