OFFSET
1,2
COMMENTS
a(1171) > 2*10^13. - Bruce Garner, Jun 06 2021
LINKS
Bruce Garner, Table of n, a(n) for n = 1..1170 (terms 1..907 from Robert Price, terms 908..967 from Karl-Heinz Hofmann)
EXAMPLE
5 is a term because 1 plus the sum of the first 11 primes^12 is 3152514340085 which is divisible by 11.
MAPLE
A233264:=n->if type((1+add(ithprime(i)^12, i=1..n))/n, integer) then n; fi; seq(A233264(n), n=1..200); # Wesley Ivan Hurt, Dec 06 2013
MATHEMATICA
p = 2; k = 0; s = 1; lst = {}; While[k < 41000000000, s = s + p^12; If[Mod[s, ++k] == 0, AppendTo[lst, k]; Print[{k, p}]]; p = NextPrime@ p] (* derived from A128169 *)
With[{nn=200}, Transpose[Select[Thread[{Accumulate[Prime[Range[nn]]^12], Range[nn]}], Divisible[#[[1]]+1, #[[2]]]&]][[2]]] (* Harvey P. Dale, May 28 2015 *)
CROSSREFS
Cf. A085450 (smallest m > 1 such that m divides Sum_{k=1..m} prime(k)^n).
KEYWORD
nonn
AUTHOR
Robert Price, Dec 06 2013
STATUS
approved