OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n)+(a(n)^2-1)/8 = A165352(n).
MATHEMATICA
Select[Prime[Range[250]], PrimeQ[# + (#^2 - 1)/8] &] (* Vincenzo Librandi, Sep 01 2012 *)
PROG
(Magma) [n: n in [3..1500] |IsPrime(n) and IsPrime(n+(n^2-1) div 8)]; // Vincenzo Librandi, Sep 01 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 16 2009
EXTENSIONS
More terms from R. J. Mathar, Sep 21 2009
STATUS
approved