1,2

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

lambda(1) = 1 is the first (record) run, so a(1) = 1.

lambda(2) = lambda(3) = -1 is the second record run, so a(2) = 2. lambda(11) = lambda(12) = lambda(13) = -1 is the third record run, so a(3) = 3.

Cf. A233445, A008836.

Sequence in context: A243498 A156287 A162293 * A145803 A018629 A018357

Adjacent sequences: A233456 A233457 A233458 * A233460 A233461 A233462

nonn

Charles R Greathouse IV, Dec 10 2013

approved