OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
12 is in the sequence, because 12^2 + 5 = 149 and 12^2 - 5 = 139 are primes.
MATHEMATICA
Select[Range[8! ], PrimeQ[ #^2-5]&&PrimeQ[ #^2+5]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 23 2010
STATUS
approved