OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
The 11th triangular number is 66, the 11th prime is 31.
Their sum is 97, a prime. Therefore 11 is in the sequence.
MATHEMATICA
Select[Range[500], PrimeQ[ #*(# + 1)/2 + Prime[ # ]] &]
PROG
(PARI) list(lim)=my(v=List(), n); forprime(p=2, , if(n++>lim, break); if(isprime(n*(n+1)/2+p), listput(v, n))); Vec(v) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,less
AUTHOR
J. M. Bergot, Jun 23 2007
EXTENSIONS
Edited and extended by Stefan Steinerberger and Robert G. Wilson v, Jun 24 2007
STATUS
approved