OFFSET
1,1
COMMENTS
The associated p are in A165566.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
p=17 generates a(1) = 19 = (17^2-1)/8 -17. p=23 generates a(2) = 43 = (23^2-1)/8-23.
MATHEMATICA
Select[Table[(p^2 - 1)/8 - p, {p, Prime[Range[4, 200]]}], PrimeQ] (* Vincenzo Librandi, Oct 12 2012 *)
PROG
(Magma) [a: p in PrimesInInterval(6, 1200) | IsPrime(a) where a is (p^2 - 1) div 8 - p ]; // Vincenzo Librandi, Oct 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 22 2009
EXTENSIONS
Sequence extended by R. J. Mathar, Oct 16 2009
STATUS
approved