OFFSET
1,1
COMMENTS
Sequence proposed by Livio Zucca on it.hobby.enigmi. First prime number appearing is 152539. (Cf. A112625)
EXAMPLE
6221 and 6223 are not in the sequence since they can be expressed as 6221 = T(105) + T(32) + 2^7 and 6223 = T(93) + T(56) + 2^8.
MATHEMATICA
tab = Table[1, {i, 30000}]; T[n_] := (n + n^2)/2; Do[n=T[i]+T[j]+2^k; If[1<=n<=30000, tab[[n]]=0], {i, 0, 244}, {j, 0, i}, {k, 0, 14}]; Position[tab, 1] // Flatten
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Jan 12 2006
STATUS
approved