cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

Enrique Navarrete, Apr 26 2018

Keywords

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.

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.