OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1913 and 1931 are two consecutive primes and have te same digital product.
MATHEMATICA
sdpQ[{a_, b_}]:=Times@@IntegerDigits[a]==Times@@IntegerDigits[b]; Select[ Partition[Prime[Range[400]], 2, 1], sdpQ][[All, 1]] (* Harvey P. Dale, Jul 27 2020 *)
Prime[#]&/@SequencePosition[Table[Times@@IntegerDigits[p], {p, Prime[Range[ 400]]}], {x_, x_}][[;; , 1]] (* Harvey P. Dale, Dec 03 2023 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 30 2006
STATUS
approved