OFFSET
1,2
COMMENTS
a(2) = 21 (chosen) and not 10 so that the sequence extends nontrivially.
A040115(a(n+1)) = a(n). - David Wasserman, Oct 02 2005
EXAMPLE
After 8421 two possible candidates are 91532 and 91576 but there is no number with digit difference 91576 hence the next term is 91532.
1031 is followed by 10032 because the absolute differences between the numbers 1, 0, 0, 3, 2 are 1, 0, 3, 1.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Jul 29 2005
EXTENSIONS
Corrected and extended by David Wasserman, Oct 02 2005
STATUS
approved