OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
157 is in the sequence because it is a prime number and its multiplicative digital root 5 is also a prime number.
MATHEMATICA
a[n_]:=NestWhile[Times@@IntegerDigits[#]&, n, #>9&]; Select[Prime[Range[258]], PrimeQ[a[#]]&] (* Jayanta Basu, Jun 02 2013 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 21 2006; corrected Apr 30 2006
STATUS
approved