Prime numbers that are the sum of consecutive octagonal numbers.
29, 61, 229, 401, 1381, 2441, 2689, 3221, 8741, 10169, 12241, 13921, 15101, 19609, 23189, 30389, 31249, 35729, 38561, 44549, 45589, 48781, 50969, 52081, 61409, 66361, 68909, 70201, 74149, 98561, 109621, 117881, 119569, 128189, 135301, 140761, 144461
1
Terms are the sum of 2 consecutive octagonal numbers.
T. D. Noe, Plot of 1000 terms
T. D. Noe, Table of 1000 terms
Wikipedia, Polygonal number
(Mma) nn = 400; f = 8; s = Table[k ((f - 2) k - (f - 4))/2, {k, nn}]; t = Table[Select[Plus @@@ Partition[s, n, 1], PrimeQ], {n, 6}]; mx = Min[Select[Max /@ Rest[t], # > 0 &]]; Select[Union[Flatten[t]], # <= mx &]
Cf. A163251 (squares), S000790-S000799.
nonn
T. D. Noe, Dec 11 2015