OFFSET
1,2
COMMENTS
See A074268 for the primes associated with a(n).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A065508(n) - 1.
MATHEMATICA
Select[Prime[Range[400]]-1, PrimeQ[#^2+#+1]&] (* Harvey P. Dale, Feb 11 2022 *)
PROG
(PARI) isA136240(n) = {isprime(n+1) && isprime(n^2+n+1)} \\ Michel Marcus, Jul 28 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Dec 23 2007
STATUS
approved