OFFSET
1,2
COMMENTS
a(47) > 3*10^13. - Bruce Garner, Jun 05 2021
LINKS
Bruce Garner, Table of n, a(n) for n = 1..46
EXAMPLE
a(5)=6 because 1 plus the sum of the first 6 primes^11 is 2079498398712 which is divisible by 6.
MATHEMATICA
p = 2; k = 0; s = 1; lst = {}; While[k < 41000000000, s = s + p^11; If[Mod[s, ++k] == 0, AppendTo[lst, k]; Print[{k, p}]]; p = NextPrime@ p] (* derived from A128169 *)
With[{nn = 5*10^7}, Select[Thread[{Accumulate[ Prime[ Range[nn]]^11] + 1, Range[nn]}], Divisible[#[[1]], #[[2]]] &][[All, 2]]] (* The program generates the first 29 terms of the sequence. To generate all 34, change the value of nn to 878*10^7, but the program will take a long time to run. *) (* Harvey P. Dale, Mar 09 2017 *)
CROSSREFS
Cf. A085450 (smallest m > 1 such that m divides Sum_{k=1..m} prime(k)^n).
KEYWORD
nonn
AUTHOR
Robert Price, Dec 05 2013
EXTENSIONS
a(35) from Karl-Heinz Hofmann, Mar 07 2021
STATUS
approved