OFFSET
1,1
COMMENTS
Otherwise said, prime(n) such that n divides prime(1)^4 + ... + prime(n)^4. The n-values (indices) are given in A125907.
FORMULA
a(n) = prime(A125907(n)).
PROG
(PARI) S=n=0; forprime(p=1, , (S+=p^4)%n++||print1(p", "))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
M. F. Hasler, Dec 01 2013
EXTENSIONS
a(4) from Bruce Garner, Feb 27 2021
a(5) from Paul W. Dyson, May 09 2024
STATUS
approved