login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

%I

%S 0,1,10,11,100,101,102,12,20,21,22,112,120,103,13,30,31,33,113,123,23,

%T 32,122,121,110,104,14,40,41,44,114,124,24,42,142,125,15,25,51,52,55,

%U 152,105,50,106,56,16,61,66,116,126,26,62,162,127,17,27,71,72,77

%N 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.

%C 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.

%e 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.

%Y Cf. A303294.

%K nonn,base

%O 1,3

%A _Enrique Navarrete_, Apr 26 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 28 11:14 EDT 2021. Contains 346326 sequences. (Running on oeis4.)