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
Jean-Marc Falcoz, Table of n, a(n) for n = 1..2229
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
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Apr 11 2018
STATUS
approved