OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
MATHEMATICA
lst={}; Do[p=Prime[n]; p=p^2-p-1; If[PrimeQ[p], AppendTo[lst, p]], {n, 3*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 27 2009 *)
Select[#^2-#-1&/@Prime[Range[200]], PrimeQ] (* Harvey P. Dale, May 15 2016 *)
PROG
(PARI) isA091568(n)={local(i); i=floor((1/2)+sqrt(n+(5/4))); isprime(i) && n==i^2-i-1 && isprime(n)} \\ Michael B. Porter, May 12 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jan 21 2004
STATUS
approved