login
A303605
a(n) is the least positive integer not yet in the sequence which shares a digit with a(n-1) and a digit with a(n-2); a(1)=0, a(2)=1.
3
0, 1, 10, 11, 100, 101, 102, 12, 20, 21, 22, 112, 120, 103, 13, 30, 31, 33, 113, 123, 23, 32, 122, 121, 110, 104, 14, 40, 41, 44, 114, 124, 24, 42, 142, 125, 15, 25, 51, 52, 55, 152, 105, 50, 106, 56, 16, 61, 66, 116, 126, 26, 62, 162, 127, 17, 27, 71, 72, 77
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
Cf. A303294.
Sequence in context: A332703 A178569 A332795 * A266946 A081551 A257831
KEYWORD
nonn,base
AUTHOR
Enrique Navarrete, Apr 26 2018
STATUS
approved