1,3

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

Marko Riedel, Maple program for A269502 and A272976.

a(7) = 5 because 7 = (111)_2 and (1)_2 occurs three times and (11)_2 two times; (111)_2 does not occur among a(1) ... a(6).

Cf. A272886, A272851, A272976.

Sequence in context: A173387 A133438 A086671 * A054346 A145393 A215675

Adjacent sequences: A269499 A269500 A269501 * A269503 A269504 A269505

base,nonn

Marko Riedel, May 11 2016

approved