OFFSET
1,1
REFERENCES
D. H. Lehmer, Guide to Tables in the Theory of Numbers. Bulletin No. 105, National Research Council, Washington, DC, 1941, p. 46.
L. Poletti, Tavole di Numeri Primi Entro Limiti Diversi e Tavole Affini, Milan, 1920, p. 249.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Carmine Suriano, Table of n, a(n) for n = 1..60000
FORMULA
a(n) = (A088502(n)+1)/2. - Ray Chandler
a(n) = A094210(n) + 2. - R. J. Mathar, Aug 08 2012
MATHEMATICA
Select[Range[10^3], PrimeQ[#^2 - # - 1] &] (* Vincenzo Librandi, Mar 20 2014 *)
PROG
(Magma) [n: n in [1..300]|IsPrime(n^2-n-1)]; // Vincenzo Librandi, Nov 21 2010
(PARI) is(n)=isprime(n^2 - n - 1) \\ Charles R Greathouse IV, Apr 28 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended by Ray Chandler, Sep 07 2005
STATUS
approved