OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
5593513_10 = 111111212221_4 is prime and the sum of digits of 111111212221 is equal to the product of digits.
MATHEMATICA
Select[Prime@ Range[10^6], Total@ # == Times @@ # &@ IntegerDigits[#, 4] &] (* Michael De Vlieger, Nov 18 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Chai Wah Wu, Nov 17 2015
STATUS
approved