login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A158699
Start with 0; then add one to each single digit.
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 32, 43, 54, 65, 76, 87, 98, 109, 210, 321, 432, 543, 654, 765, 876, 987, 1098, 2109, 3210, 4321, 5432, 6543, 7654, 8765, 9876, 10987, 21098, 32109, 43210, 54321, 65432, 76543, 87654, 98765, 109876, 210987, 321098, 432109, 543210
OFFSET
0,3
COMMENTS
If 9 occurs anywhere except at the start of the number it is replaced by 0, but an initial 9 is replaced by 10. - N. J. A. Sloane, Mar 27 2009
EXAMPLE
6543 -> 7654
2109 -> 3210
98765 -> 109876, etc.
CROSSREFS
Cf. A061511.
Sequence in context: A216556 A331975 A068860 * A247107 A061511 A138142
KEYWORD
nonn,base
AUTHOR
Ruben Gil, Mar 26 2009
STATUS
approved