OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[2000], AllTrue[Prime[#]^2-Prime[#]+{1, -1}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 12 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 29 2007
STATUS
approved