OFFSET
1,1
EXAMPLE
8 is a term: 8*(8+1)/2 = 36 = 17 + 19.
12 is a term: 12*(12+1)/2 = 78 = 37 + 41.
MATHEMATICA
With[{upto=10^5}, (Sqrt[Select[8ListConvolve[{1, 1}, Prime[Range[upto]]]+1, IntegerQ[Sqrt[#]]&]]-1)/2] (* Paolo Xausa, Nov 05 2023 *)
PROG
(PARI) lista(nn) = {for (i=1, nn, vsp = 1 + 8 *(prime(i) + prime(i+1)); if (issquare(vsp), v = sqrtint(vsp) - 1; if (v % 2 ==0, print1(v/2, ", "); ); ); ); } \\ Michel Marcus, Jun 02 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ctibor O. Zizka, Feb 19 2010
STATUS
approved