OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
lst={}; Do[p=(n^1)-1+(n^2)-2+(n^3)-3+(n^4)-4+(n^5)-5+(n^6)-6+(n^7)-7; If[PrimeQ[p], AppendTo[lst, p]], {n, 6!}]; lst
Select[Table[Total[n^Range[7]]-28, {n, 200}], PrimeQ] (* Harvey P. Dale, Jun 08 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Sep 25 2008
STATUS
approved