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.
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
Examples
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.
Comments