OFFSET
1,1
COMMENTS
a(13) > 1352363608564489. - Bruce Garner, Aug 30 2021
EXAMPLE
a(2) = 83, because 83 is the 23rd prime and the sum of the first 23 primes^13 = 17226586990098074754709144 when divided by 23 equals 748982043047742380639528 which is an integer.
MATHEMATICA
t = {}; sm = 0; Do[sm = sm + Prime[n]^13; If[Mod[sm, n] == 0, AppendTo[t, Prime[n]]], {n, 100000}]; t (* Derived from A217599 *)
PROG
(PARI) is(n)=if(!isprime(n), return(0)); my(t=primepi(n), s); forprime(p=2, n, s+=Mod(p, t)^13); s==0 \\ Charles R Greathouse IV, Nov 30 2013
CROSSREFS
Cf. A085450 (smallest m > 1 such that m divides Sum_{k=1..m} prime(k)^n).
KEYWORD
nonn,more
AUTHOR
Robert Price, Nov 29 2013
EXTENSIONS
a(11) from Bruce Garner, Mar 23 2021
a(12) from Bruce Garner, Aug 30 2021
a(13) from Paul W. Dyson, Apr 20 2023
STATUS
approved