OFFSET
1,2
COMMENTS
Palindromes in the sequence A229550.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..200
EXAMPLE
77*(7*7) = 343*11 = 3773 (another palindrome). So 77 is a member of this sequence.
464*(4*6*4) = 44544 (another palindrome). So, 464 is a member of this sequence.
PROG
(Python)
def pal(n):
..r = ''
..for i in str(n):
....r = i + r
..return r == str(n)
def DP(n):
..p = 1
..for i in str(n):
....p *= int(i)
..return p
{print(n, end=', ') for n in range(1, 10**6) if DP(n)*pal(n)*pal(n*DP(n))}
## Simplified by Derek Orr, Apr 05 2015
(PARI) pal(n)=d=digits(n); Vecrev(d)==d
for(n=1, 10^8, d=digits(n); p=prod(i=1, #d, d[i]); if(p*pal(n)*pal(n*p), print1(n, ", "))) \\ Derek Orr, Apr 05 2015
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Derek Orr, Sep 29 2013
STATUS
approved