OFFSET
1,3
LINKS
EXAMPLE
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).
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Marko Riedel, May 11 2016
STATUS
approved