OFFSET
1,1
COMMENTS
2 is the only even term of this sequence. Large numbers corresponding to some terms are probable prime.
EXAMPLE
21^(2*1) - (2*1) is prime so 21 is in the sequence.
MATHEMATICA
Do[p=Apply[Times, IntegerDigits[n]]; If[PrimeQ[n^p-p], Print[n]], {n, 54891}]
(* or *)
ppdQ[n_]:=Module[{p=Times@@IntegerDigits[n]}, PrimeQ[n^p-p]]; Select[ Range[ 120000], ppdQ] (* Harvey P. Dale, Nov 12 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Farideh Firoozbakht, May 29 2010
EXTENSIONS
a(34)-a(37) from Max Alekseyev, Feb 19 2012
a(38)-a(44) from Michael S. Branicky, Jun 25 2023
STATUS
approved