OFFSET
1,3
COMMENTS
This sequence is a variant of A048991.
LINKS
Rémy Sigrist, C program for A308540
EXAMPLE
The first terms are necessarily the one-digit numbers: a(1) = 0, a(2) = 1, ..., a(10) = 9.
The number 10 does not appear in "0123456789", hence a(11) = 10.
The digits of every number from 11 to 21 appear in order in "012345678910", but this is not the case for the number 22, hence a(12) = 22.
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 24 2019
STATUS
approved