A178327 Numbers k such that k^p+p is prime, where p is product of the digits of k.
1, 21, 6617, 12131, 12441, 114917, 121221, 124281, 125121, 145581, 172631, 182121, 191213, 211551, 221211, 221421, 241213, 293143, 421531, 421821
Offset: 1
Examples
21^(2*1)+(2*1) is prime so 21 is a term.
Programs
-
Mathematica
Do[p=Apply[Times, IntegerDigits[n]]; If[PrimeQ[n^p+p], Print[n]], {n, 1, 27501, 2}]
Extensions
No more terms less than 56600. - Robert G. Wilson v, Jul 27 2010
a(6)-a(17) from Donovan Johnson, Aug 09 2010
a(18)-a(20) from Michael S. Branicky, Jun 23 2023
Comments