A260904 Prime numbers such that sum of digits in base 16 equals product of digits in base 16.
2, 3, 5, 7, 11, 13, 4673, 5153, 8513, 16673, 17895719, 17899799, 17985809, 18288929, 34697489, 40964369, 118563089, 286337041, 286359841, 293675281, 403775761, 554766721, 554795281, 73303933201, 74109227281, 1172812415521, 1172812443937, 1172812468507
Offset: 1
Examples
16673_10 = 4121_16 is prime and the sum of digits of 4121 equals the product of digits.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..6023
Crossrefs
Cf. A066306.
Programs
-
Mathematica
Select[Prime@ Range[10^7], Total@ # == Times @@ # &@ IntegerDigits[#, 16] &] (* Michael De Vlieger, Nov 18 2015 *)