OFFSET
1,2
COMMENTS
These are the palindromes in A244547.
EXAMPLE
252 has all digits > 0. 252 is a palindrome, 252 - 2*5*2 = 232 is a palindrome, and 252 + 2*5*2 = 272 is a palindrome. Thus 252 is a member of this sequence.
PROG
(PARI) rev(n)={r=""; for(i=1, #digits(n), r=concat(Str(digits(n)[i]), r)); return(eval(r))}
for(n=1, 10^7, if(rev(n)==n, dig=digits(n); p=prod(k=1, #dig, dig[k]); if(p!=0, mi=n-p; ma=n+p; if(rev(mi)==mi&&rev(ma)==ma, print1(n, ", ")))))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jun 29 2014
STATUS
approved