OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
79 and 83 are two consecutive primes with the same multiplicative digital root, namely 8.
MATHEMATICA
pod[n_] := Times @@ IntegerDigits[n]; multDigRoot[n_] := NestWhile[pod, n, # > 9 &]; Select[Partition[Select[Range[1000], PrimeQ], 2, 1], Equal @@ multDigRoot /@ # &][[;; , 1]] (* Amiram Eldar, Feb 06 2021 *)
Prime[#]&/@(SequencePosition[NestWhile[Times@@IntegerDigits[#]&, #, #>9&]&/@ Prime[ Range[200]], {x_, x_}][[;; , 1]]) (* Harvey P. Dale, Jan 16 2024 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 30 2006
STATUS
approved