%I #7 Aug 10 2015 00:22:09
%S 1,10,11,12,2,20,21,13,3,30,31,14,4,40,41,15,5,50,51,16,6,60,61,17,7,
%T 70,71,18,8,80,81,19,9,90,91,100,101,102,22,23,32,24,42,25,52,26,62,
%U 27,72,28,82,29,92,200,201,103,33,34,43,35,53,36,63,37,73,38,83,39,93,300,301
%N Lexicographically earliest permutation of the natural numbers such that in decimal representation the initial digit for each term is equal to the last nonzero digit of its predecessor; a(1)=1.
%C A000030(a(n+1)) = A065881(a(n));
%C inverse of A162502: a(A162502(n)) = A162502(a(n)) = n;
%C a(a(n)) = A162503(n).
%H R. Zumkeller, <a href="/A162501/b162501.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%Y A076654, A130571.
%K base,nonn
%O 1,2
%A _Reinhard Zumkeller_, Jul 05 2009
|