OFFSET
1,1
LINKS
Abhiram R Devesh, Table of n, a(n) for n = 1..10000
EXAMPLE
Prime p = 3 is in this sequence as p^5 + p^3 + p +4 = 277 (prime).
Prime p = 5 is in this sequence as p^5 + p^3 + p +4 = 3259 (prime).
PROG
(Python)
import sympy.ntheory as snt
p=1
while p>0:
....p=snt.nextprime(p)
....pp=p+(p**3)+(p**5)+4
....if snt.isprime(pp) == True:
........print(p, pp)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Abhiram R Devesh, Jun 14 2014
STATUS
approved