The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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.