OFFSET
1,2
COMMENTS
From Rémy Sigrist, Mar 10 2018: (Start)
a(n) is the greatest k <= n such that A213629(n, i) > 0 for i = 1..k.
See A261467 for the indices of record values.
(End)
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A261461(n) - 1. - Rémy Sigrist, Mar 10 2018
EXAMPLE
44 in binary is 101100. In this string we find 1 (1 in decimal): (1)01100; 10 (2 in decimal): (10)1100; 11 (3 in decimal): 10(11)00; 100 (4 in decimal): 101(100); 101 (5 in decimal): (101)100; and 110 (6 in decimal): 10(110)0; but not 111 (7 in decimal). So a(44) = 6.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Sep 07 2008
EXTENSIONS
Extended by Ray Chandler, Nov 07 2008
STATUS
approved