OFFSET
1,2
COMMENTS
After a(81) = 89, each term must contain a 9.
Unlike A184992, not a permutation of the positive integers, but contains all numbers from 1 to 99.
LINKS
Jean-Marc Falcoz and Eric Angelini, Table of n, a(n) for n = 1..5001
EXAMPLE
Gathering intervals of consecutive integers, sequence begins as follows:
1, 10..12,
2, 20..23,
3, 13, 30..34,
4, 14, 24, 40..45,
5, 15, 25, 35, 50..56,
6, 16, 26, 36, 46, 60..67,
7, 17, 27, 37, 47, 57, 70..78,
8, 18, 28, 38, 48, 58, 68, 80..89,
9, 19, 29, 39, 49, 59, 69, 79, 90..99,
109, 119, 129, ...
MATHEMATICA
a = {1}; Do[k = 2; While[Nand[! MemberQ[a, k], MemberQ[IntegerDigits[k], Max@ IntegerDigits[a[[n - 1]] ]]], k++]; AppendTo[a, k], {n, 2, 102}]; a (* Michael De Vlieger, Jul 22 2017 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Enrique Navarrete, Jul 22 2017
STATUS
approved