OFFSET
1,1
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 1^6 + 1^5 + 1^4 + 1^3 + 1^2 + 1 + 1 = 7.
a(2) = 6^6 + 6^5 + 6^4 + 6^3 + 6^2 + 6 + 1 = 55987.
a(3) = 14^6 + 14^5 + 14^4 + 14^3 + 14^2 + 14 + 1 = 8108731.
a(4) = 26^6 + 26^5 + 26^4 + 26^3 + 26^2 + 26 + 1 = 321272407.
MATHEMATICA
With[{nn=200}, Select[Total[#^Range[0, 6]]&/@Complement[Range[nn], Prime[ Range[PrimePi[nn]]]], PrimeQ]] (* Harvey P. Dale, Nov 15 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Dec 20 2012
STATUS
approved