OFFSET
1,1
COMMENTS
a(49) > 1005368767096627. - Bruce Garner, Jun 05 2021
LINKS
Bruce Garner, Table of n, a(n) for n = 1..48 (first 34 terms from Robert Price)
EXAMPLE
a(4) = 13, because 13 is the 6th prime and the sum of the first 6 primes^9+1 = 13004773992 when divided by 6 equals 2167462332 which is an integer.
MAPLE
A233042:=n->if type((1+add(ithprime(i)^9, i=1..n))/n, integer) then ithprime(n); fi; seq(A233042(n), n=1..100000); # Wesley Ivan Hurt, Dec 06 2013
MATHEMATICA
t = {}; sm = 1; Do[sm = sm + Prime[n]^9; 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)^9); 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
AUTHOR
Robert Price, Dec 03 2013
STATUS
approved