OFFSET
1,1
LINKS
Shyam Sunder Gupta, Table of n, a(n) for n = 1..4966
EXAMPLE
1913 is in the sequence because 1913 and 1931 are consecutive primes and the product of the digits of each = 27.
MATHEMATICA
a = {}; m = 1; s = 1; Do[If[(y = Apply[Times, IntegerDigits[x = Prime[n]]]) == s && s != 0, m = m + 1; If[m > 1, AppendTo[a, Prime[n - 1]]], m = 1]; s = y, {n, 1, 10000}]; a
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Shyam Sunder Gupta, Oct 08 2013
STATUS
approved