OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (n = 1..300 from Colin Barker)
EXAMPLE
31 is in the sequence because 7+11+13 (consecutive primes) = 31 = 6+10+15 (consecutive triangular numbers).
PROG
(PARI) L=List(); forprime(p=2, 400000, q=nextprime(p+1); r=nextprime(q+1); t=p+q+r; if(issquare(24*t-15, &sq) && (sq-9)%6==0, listput(L, p))); Vec(L)
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jan 14 2018
STATUS
approved