OFFSET
1,1
LINKS
Shyam Sunder Gupta, Table of n, a(n) for n = 1..5953
EXAMPLE
a(6) = 0, since product of digits of 6th palindromic prime, that is, 101 is 0.
MATHEMATICA
a = {}; Do[z = n*10^(IntegerLength[n] - 1) + FromDigits@Rest@Reverse@IntegerDigits[n]; If[PrimeQ[z], s = Apply[Times, IntegerDigits[z]]; AppendTo[a, s]], {n, 1, 10^5}]; Insert[a, 1, 5]
Times@@IntegerDigits[#]&/@Select[Prime[Range[5000]], PalindromeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 17 2017 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Shyam Sunder Gupta, Oct 11 2013
STATUS
approved