login
A100793
Beginning with 1, least natural number such that sum as well the difference of successive terms are both palindromes, otherwise 0 if no such term exists.
0
1, 2, 3, 4, 5, 6, 105, 97, 64, 57, 54, 45, 43, 34, 32, 23, 21, 12, 10, 111, 212, 91, 80, 71, 60, 51, 48, 40, 37, 29, 26, 18, 15, 7, 0, 8, 14, 19, 25, 30, 36, 41, 47, 52, 49, 50, 61, 70, 81, 90, 101, 202, 191, 182, 171, 20, 13, 9, 0, 11, 22, 33, 44, 55, 46, 42, 35, 31, 24, 0
OFFSET
0,2
EXAMPLE
a(6)=105 since 105 + 6 = 111 and 105 - 6 = 99 both are palindromes and 105 is the least unused natural number for which this is true.
a(34)=a(58)=a(69)=0 since no unused natural numbers exist.
CROSSREFS
Sequence in context: A037438 A171596 A318909 * A099145 A004868 A073788
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Dec 04 2004
EXTENSIONS
Edited, corrected and extended by Mark Hudson (mrmarkhudson(AT)hotmail.com) and Ray Chandler, Dec 06 2004
STATUS
approved