OFFSET
1,1
COMMENTS
Subsequence of A253145.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[(Prime[n]^2 + 3 Prime[n] + 2) / 2, {n, 50}]
PROG
(Magma) [(p+1)*(p+2) / 2: p in PrimesUpTo(200)];
(PARI) lista(nn) = forprime(p=2, nn, print1((p+1)*(p+2)/2, ", ")); \\ Altug Alkan, Apr 09 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 09 2016
STATUS
approved