OFFSET
1,2
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 20, set of palindromic divisors is {1, 2, 4, 5}; a(12) = 1*2*4*5 = 40.
MATHEMATICA
palQ[n_]:=Module[{idn=IntegerDigits[n]}, idn==Reverse[idn]]; f[n_]:=Times@@Select[Divisors[n], palQ]; Table[f[n], {n, 100}] (* Harvey P. Dale, Jan 21 2011 *)
PROG
(Python)
def ispal(n):
return n==int(str(n)[::-1])
def A184392(n):
s=1
for i in range(1, n+1):
if n%i==0 and ispal(i):
s*=i
return s # Indranil Ghosh, Feb 10 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jan 12 2011
EXTENSIONS
More terms from Harvey P. Dale, Jan 21 2011
STATUS
approved