Lexicographically first sequence of distinct terms such that any set of five successive digits can be reordered as {d, d+1, d+2, d+3, d+4}, d being the smallest of the five digits.

A302500

Lexicographically first sequence of distinct terms such that any set of five successive digits can be reordered as {d, d+1, d+2, d+3, d+4}, d being the smallest of the five digits.

Terms

    a(0) =0a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =6a(7) =7a(8) =8a(9) =9a(10) =56a(11) =78a(12) =45a(13) =67a(14) =34a(15) =562a(16) =345a(17) =12a(18) =340a(19) =123a(20) =40a(21) =1234a(22) =51a(23) =23a(24) =401a(25) =234a(26) =512a(27) =3401a(28) =2340a(29) =12340

External references