OFFSET
1,1
COMMENTS
The values of A036679(k)+6 at indices k=5, 7, 17, 47, 97, 1073, ... - R. J. Mathar, Jul 16 2009
MATHEMATICA
f[n_]:=n^n-n!+6; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, p]], {n, 3*5!}]; lst
Select[Table[n^n-n!+6, {n, 50}], PrimeQ] (* Harvey P. Dale, Sep 22 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 07 2009
STATUS
approved