OFFSET
1,3
COMMENTS
The only pairs of consecutive numbers up to n=60 are 0,1; 10,11; 100,101,102; 20,21,22; 40,41; 51,52; 71,72.
EXAMPLE
a(5)=100 since it the smallest positive integer not yet in the sequence that shares a digit with a(4)=11 and a digit with a(3)=10.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Enrique Navarrete, Apr 26 2018
STATUS
approved