OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
4 is in the sequence because 61 = 4^2 + 4 + 41 and 59 are twin primes.
MATHEMATICA
Select[Range[10^3], And @@ PrimeQ[#^2 + # + {39, 41}] &] (* Amiram Eldar, Dec 27 2019 *)
PROG
(PARI) isok(n) = isprime(n^2+n+41) && isprime(n^2+n+39); \\ Michel Marcus, Oct 03 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 08 2003
STATUS
approved