OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
For p=3, p^2+(p+1)/2=11, prime, which adds 11 to the sequence. For p=7, p^2+(p+1)/2=53, which adds 53 to the sequence.
MATHEMATICA
Select[Table[p^2 + (p + 1)/2, {p, Prime[Range[200]]}], PrimeQ] (* Vincenzo Librandi, Oct 12 2012 *)
PROG
(Magma) [a: p in PrimesInInterval(3, 1200) | IsPrime(a) where a is p^2 + (p+1) div 2 ]; // Vincenzo Librandi, Oct 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 17 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Aug 26 2009
STATUS
approved