login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244541 Numbers n such that n +/- the product of digits of n are both palindromes. 2
1, 2, 3, 4, 101, 202, 247, 252, 303, 348, 404, 505, 606, 707, 808, 843, 909, 1001, 2002, 3003, 4004, 5005, 6006, 7007, 8008, 9009, 10001, 10101, 10201, 10301, 10401, 10501, 10601, 10701, 10801, 10901, 11011, 12021, 13031, 14041, 15051, 15451, 16061, 17071, 18081, 19091, 20002 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..47.

EXAMPLE

252 + 2*5*2 = 272, a palindrome, and 252 - 2*5*2 = 232, also 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^5, dig=digits(n); p=prod(k=1, #dig, dig[k]); mi=n-p; ma=n+p; if(rev(mi)==mi&&rev(ma)==ma, print1(n, ", ")))

CROSSREFS

Cf. A007954, A229546, A229547.

Sequence in context: A037431 A262526 A171564 * A244542 A085935 A100981

Adjacent sequences:  A244538 A244539 A244540 * A244542 A244543 A244544

KEYWORD

nonn,base

AUTHOR

Derek Orr, Jun 29 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 18:18 EDT 2021. Contains 345199 sequences. (Running on oeis4.)