[seqfan] Digit chain

Eric Angelini Eric.Angelini at kntv.be
Thu Dec 22 12:33:13 CET 2011


Hello SeqFans,
if S is of interest, could please someone check, extend and submit to the OEIS?
Thanks,
Best,
É.

-------------------------------------------------
S = 1,10,11,12,2,20,21,13,3,23,22,24,4,14,15,5,25,...

Lexicographically smallest permutation of the natural numbers such that in decimal representation a(n) shares at least one digit with a(n-1); a(1)=1.

In building S, always choose the smallest term not yet present in S and not leading to a contradiction.





More information about the SeqFan mailing list