

A331989


Lexicographically earliest sequence of distinct positive integers such that five successive digits are always distinct.


1



1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 23, 41, 50, 24, 13, 52, 40, 15, 26, 30, 12, 43, 51, 20, 34, 16, 25, 31, 42, 53, 14, 27, 35, 18, 29, 36, 17, 28, 39, 45, 21, 37, 46, 19, 32, 47, 56, 38, 49, 57, 60, 48, 59, 61, 70, 54, 62, 71, 58, 63, 72, 80, 64, 73, 81, 65, 74, 82, 67, 90, 83, 69, 75, 84, 91, 68, 79, 102, 76, 85
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Carole Dubois, Table of n, a(n) for n = 1..5000


EXAMPLE

The 5 digits 1, 0, 2, 3, 4 of a(10), a(11) and the 1st digit of a(12) are distinct;
the 5 digits 0, 2, 3, 4, 1 of the 2nd digit of a(10), a(11) and a(12) are distinct;
the 5 digits 2, 3, 4, 1, 5 of a(11), a(12) and the 1st digit of a(13) are distinct;
the 5 digits 3, 4, 1, 5, 0 of the 2nd digit of a(11), a(12) and a(13) are distinct;
the 5 digits 4, 1, 5, 0, 2 of a(12), a(13) and the 1st digit of a(14) are distinct, etc.


CROSSREFS

Cf. A331975 (a variant with 3 successive distinct digits), A331215 (a variant with 4 successive distinct digits).
Sequence in context: A331215 A039229 A054659 * A120125 A333832 A095204
Adjacent sequences: A331986 A331987 A331988 * A331990 A331991 A331992


KEYWORD

base,nonn


AUTHOR

Eric Angelini and Carole Dubois, Feb 03 2020


STATUS

approved



