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.
%I A162501 #7 Aug 10 2015 00:22:09 %S A162501 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 A162501 70,71,18,8,80,81,19,9,90,91,100,101,102,22,23,32,24,42,25,52,26,62, %U A162501 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 A162501 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 A162501 A000030(a(n+1)) = A065881(a(n)); %C A162501 inverse of A162502: a(A162502(n)) = A162502(a(n)) = n; %C A162501 a(a(n)) = A162503(n). %H A162501 R. Zumkeller, <a href="/A162501/b162501.txt">Table of n, a(n) for n = 1..1000</a> %H A162501 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %Y A162501 A076654, A130571. %K A162501 base,nonn %O A162501 1,2 %A A162501 _Reinhard Zumkeller_, Jul 05 2009