OFFSET
1,1
COMMENTS
a(18) > 1005368767096627. - Bruce Garner, Aug 30 2021
a(19) > 1701962315686097. - Bruce Garner, Jan 07 2022
FORMULA
a(n) = prime(A131277(n)).
EXAMPLE
a(1) = 2, because 2 is the 1st prime and the sum of the first 1 primes^17 = 131072 when divided by 1 equals 131072 which is an integer.
MATHEMATICA
t = {}; sm = 0; Do[sm = sm + Prime[n]^17; 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)^17); s==0 \\ Charles R Greathouse IV, Nov 30 2013
(PARI) S=n=0; forprime(p=1, , (S+=p^17)%n++||print1(p", ")) \\ M. F. Hasler, Dec 01 2013
CROSSREFS
Cf. A085450 (smallest m > 1 that divide Sum_{k=1..m} prime(k)^n).
KEYWORD
nonn
AUTHOR
Robert Price, Dec 12 2013
EXTENSIONS
a(12) from Bruce Garner, Mar 02 2021
a(13) from Bruce Garner, Mar 17 2021
a(14) from Bruce Garner, Mar 30 2021
a(15) from Bruce Garner, Apr 14 2021
a(16) from Bruce Garner, Jun 30 2021
a(17) from Bruce Garner, Aug 30 2021
a(18) from Bruce Garner, Jan 07 2022
a(19) from Paul W. Dyson, Sep 15 2023
STATUS
approved