a(d-2) is the smallest member of A046076 containing an undulating sequence of 010... or 101... of maximal length d=3, 4, ...

A046077

a(d-2) is the smallest member of A046076 containing an undulating sequence of 010... or 101... of maximal length d=3, 4, ...

Terms

    a(0) =103a(1) =138a(2) =875a(3) =949a(4) =6617a(5) =1802a(6) =14545

External references