%I #13 Apr 04 2015 21:49:03
%S 0,1,2,3,4,5,6,7,8,9,10,11,20,12,13,14,15,16,17,18,19,21,22,30,23,24,
%T 25,26,27,28,29,31,32,33,40,34,35,36,37,38,39,41,42,43,44,50,45,46,47,
%U 48,49,51,52,53,54,55,60,56,57,58,59,61,62,63,64,65,66,70,67,68,69,71,72,73,74,75,76,77,80,78,79,81,82,83,84,85,86,87,88,90,89,100,91,92,93,94,95,96,97,98,99,101,200,102,103,104,105,106,107,108,109,110,111,201,202,112,113,114
%N Lexicographically earliest permutation of the natural numbers such that in decimal representation the final digit of each term is distinct from the initial digit of the succeeding term.
%C More than the usual number of terms are displayed, in order to show the difference between this and some closely related sequences. - _N. J. A. Sloane_, Mar 13 2014
%C A010879(a(n)) <> A000030(a(n+1));
%C A130572 is the inverse permutation; A130573(n) = a(a(n));
%C a(A130575(n)) = A130575(n);
%C see A130576 and A130577 for record values and where they occur.
%H R. Zumkeller, <a href="/A130571/b130571.txt">Table of n, a(n) for n = 0..12500</a>
%H <a href="/index/Fi#final">Index entries for sequences related to final digits of numbers</a>.
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%Y For a closely related family of sequences see A239083-A239086, A239136-A239139, A239087-A239090, A239215-A239218, A239235.
%K nonn,base,look
%O 0,3
%A _Reinhard Zumkeller_, Jun 05 2007