%I #8 Nov 27 2017 02:34:11
%S 1,2,3,4,5,6,105,97,64,57,54,45,43,34,32,23,21,12,10,111,212,91,80,71,
%T 60,51,48,40,37,29,26,18,15,7,0,8,14,19,25,30,36,41,47,52,49,50,61,70,
%U 81,90,101,202,191,182,171,20,13,9,0,11,22,33,44,55,46,42,35,31,24,0
%N 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.
%e 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.
%e a(34)=a(58)=a(69)=0 since no unused natural numbers exist.
%K base,nonn
%O 0,2
%A _Amarnath Murthy_, Dec 04 2004
%E Edited, corrected and extended by Mark Hudson (mrmarkhudson(AT)hotmail.com) and _Ray Chandler_, Dec 06 2004
|