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”).

A273617
Divide a(n) by the last digit of a(n-1); the remainder is the first digit of a(n+1). The sequence is started with a(1)=2 and always extended with the smallest integer not yet present in the sequence and not leading to a contradiction.
1
2, 3, 13, 14, 22, 23, 16, 15, 32, 25, 12, 27, 17, 33, 5, 24, 42, 29, 19, 102, 35, 18, 34, 26, 28, 4, 43, 37, 103, 52, 105, 104, 45, 106, 107, 53, 44, 202, 203, 109, 112, 47, 108, 36, 46, 49, 113, 55, 114, 402, 205, 116, 115, 117, 204, 118, 206, 62, 207, 122, 39, 119, 208, 123, 38, 209, 124, 7, 302, 125, 126, 127, 128, 212, 403, 133, 134, 213, 136, 129, 303, 64, 135, 304, 405, 132, 215, 137, 214, 406, 217, 138, 54, 6, 218, 219, 305, 8
OFFSET
1,1
COMMENTS
No term can end with the digits 0 or 1 as those would produce a division by 0. This means that no term a(n) in the sequence is divisible by the last digit of a(n-1)
LINKS
EXAMPLE
3 divided by 2 leaves 1 (this "1" starts the next integer)
13 divided by 3 leaves 1 (this "1" starts the next integer)
14 divided by 3 leaves 2 (this "2" starts the next integer)
22 divided by 4 leaves 2 (this "2" starts the next integer)
23 divided by 2 leaves 1 (this "1" starts the next integer)
16 divided by 3 leaves 1 (this "1" starts the next integer)
15 divided by 6 leaves 3 (this "3" starts the next integer)
32 divided by 5 leaves 2 (this "2" starts the next integer)
25 divided by 2 leaves 1 (this "1" starts the next integer)
12 divided by 5 leaves 2 (this "2" starts the next integer)
27 divided by 2 leaves 1 (this "1" starts the next integer)
CROSSREFS
Sequence in context: A100385 A250184 A128460 * A101541 A299543 A059670
KEYWORD
nonn,base
AUTHOR
STATUS
approved