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.
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.
Terms
- a(0) =1a(1) =10a(2) =11a(3) =12a(4) =2a(5) =20a(6) =21a(7) =13a(8) =3a(9) =30a(10) =31a(11) =14a(12) =4a(13) =40a(14) =41a(15) =15a(16) =5a(17) =50a(18) =51a(19) =16a(20) =6a(21) =60a(22) =61a(23) =17a(24) =7a(25) =70a(26) =71a(27) =18a(28) =8a(29) =80
External references
- oeis: A162501