OFFSET
1,1
COMMENTS
It is easy to see that the product of the digits of a number does not exceed 9^(log(n)+1) (log is to base 10). On the other hand we can verify that the inequality 9^(log(n)+1) < n/10 holds for all n > 10^43. Hence the sequence is finite. - Stefan Steinerberger, Apr 23 2006
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
EXAMPLE
877 is in the sequence because (1) it is a 3-digit prime and (2) the product of its digits 8*7*7=392 is a 3-digit number.
MATHEMATICA
Select[Prime[Range[1000]], DigitCount[ # ][[10]] == 0 && Length[IntegerDigits[Product[i^DigitCount[ # ][[i]], {i, 1, 9}]]] == Length[IntegerDigits[ # ]] &] (* Stefan Steinerberger, Apr 23 2006 *)
CROSSREFS
KEYWORD
base,nonn,fini
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 21 2006
EXTENSIONS
Corrected by Stefan Steinerberger, Apr 23 2006
STATUS
approved