OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
2^2 +- 1 -> (3,4) Primes,
3^2 +- 2 -> (7,11) Primes,
13^2 +- 12 -> (157,181) Prime
MATHEMATICA
Select[Prime[Range[800]], PrimeQ[ #^2-(#-1)]&&PrimeQ[ #^2+(#-1)]&]
Select[Prime[Range[2500]], AllTrue[#^2+{(#-1), (1-#)}, PrimeQ]&] (* Harvey P. Dale, Jul 15 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 21 2008
EXTENSIONS
More terms from Stefan Steinerberger, Apr 26 2008
STATUS
approved