OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..4180 (Terms <= 10^15. First 1000 terms from R. J. Mathar and Giovanni Resta)
David A. Corneth, PARI prog
EXAMPLE
a(2)=646 : 2*17*19 -> 2 + 17 + 19 = 38 and 646 / 38 = 17.
MATHEMATICA
t={}; Do[If[!PrimeQ[n]&&Reverse[x=IntegerDigits[n]]==x&&IntegerQ[n/Total[Times@@@FactorInteger[n]]], AppendTo[t, n]], {n, 4, 2.5*10^6}]; t (* Jayanta Basu, Jun 04 2013 *)
cpdQ[n_]:=CompositeQ[n]&&PalindromeQ[n]&&Divisible[n, Total[ Flatten[ Table[ #[[1]], #[[2]]]&/@FactorInteger[n]]]]; Select[Range[23*10^5], cpdQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 01 2018 *)
PROG
(PARI) See PARI link.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1998
STATUS
approved