login
A156819
Last digit d of a(n) is present in a(n+1+d); a(1)=0; a(n+1) is always the smallest available integer not already in the sequence and not leading to a contradiction.
3
0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 101, 1, 11, 12, 13, 2, 21, 3, 123, 4, 5, 23, 31, 6, 14, 32, 15, 7, 22, 24, 16, 25, 35, 8, 34, 17, 9, 56, 45, 41, 18, 19, 28, 27, 65, 26, 29, 33, 36, 38, 51, 3789, 61, 37, 71, 46, 91, 39, 81, 42, 102, 79
OFFSET
1,2
COMMENTS
The sequence arising when a(n)<a(n+1) is A156818. Thanks to Hans Havermann and Paolo Lava for their remarks.
LINKS
Eric Angelini, LastDigit
E. Angelini, LastDigit [Cached copy, with permission]
CROSSREFS
Sequence in context: A337857 A044895 A370400 * A139079 A360443 A209932
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Feb 16 2009
EXTENSIONS
More terms from Sean A. Irvine, Apr 09 2013
STATUS
approved