OFFSET
1,2
COMMENTS
The rules of this sequence are designed to decrease the likelihood of confusing any two numbers in the sequence. This would be ideal, for example, in the case of generating account numbers.
LINKS
Rémy Sigrist, PARI program for A333614
EXAMPLE
a(1) = 0 because it is the smallest nonnegative integer.
a(2) = 11 because all integers between 1 and 10 only differ from 0 by one digit.
a(3) = 22 because all integers between 12 and 21 only differ from 11 by one digit.
a(11) = 102 because 101 becomes 011 when interchanging the first two adjacent digits.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Aidan Clarke, Mar 28 2020
STATUS
approved