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

A302663
Lexicographically first sequence of distinct terms such that the absolute differences |a(n) - a(n+1)| are A002113(n+1), where A002113 is "the palindromes in base 10".
1
1, 2, 4, 7, 3, 8, 14, 21, 13, 22, 11, 33, 66, 110, 55, 121, 44, 132, 231, 130, 19, 140, 9, 150, 301, 462, 291, 472, 281, 483, 271, 493, 261, 503, 251, 513, 241, 523, 815, 512, 199, 522, 189, 532, 179, 542, 169, 552, 159, 563, 149, 573, 139, 583, 129, 593, 119, 603, 109, 614, 99, 624, 89, 634, 79, 644
OFFSET
1,2
COMMENTS
The sequence starts with a(1) = 1 and is always extended with the smallest integer not yet present that doesn't lead to a contradiction.
LINKS
EXAMPLE
|1 - 2| = 1, which is the 2nd palindrome of A002113 (the 1st one being "0");
|2 - 4| = 2 which is the 3rd palindrome;
|4 - 7| = 3 which is the 4th palindrome;
|7 - 3| = 4 which is the 5th palindrome;
|3 - 8| = 5 which is the 6th palindrome;
|8 - 14| = 6 which is the 7th palindrome;
|14 - 21| = 7 which is the 8th palindrome;
|21 - 13| = 8 which is the 9th palindrome;
|13 - 22| = 9 which is the 10th palindrome;
|22 - 11| = 11 which is the 11th palindrome;
|11 - 33| = 22 which is the 12th palindrome; etc.
CROSSREFS
Cf. A002113 (palindromes in base 10).
Sequence in context: A084332 A081145 A100707 * A078943 A063733 A187089
KEYWORD
nonn,base
AUTHOR
STATUS
approved