OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
941 is prime and 941^4 + 941 + 1 is prime, thus 941 is a member of this sequence.
MATHEMATICA
Select[Prime[Range[700]], PrimeQ[#^4+#+1]&] (* Harvey P. Dale, Sep 27 2014 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(p) for p in range(10**5) if isprime(p) and isprime(p**4+p+1)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Jan 18 2014
STATUS
approved