S000792


Prime numbers that are the sum of consecutive hexagonal numbers.

7, 43, 73, 139, 157, 211, 251, 277, 421, 463, 503, 601, 1061, 1483, 1553, 2113, 2141, 2551, 2971, 3109, 3203, 3907, 4297, 4423, 4481, 6163, 6481, 6521, 8191, 9013, 9967, 10301, 12211, 15803, 16699, 17989, 18521, 19183, 22147, 22481, 22651, 23531, 23629

1

S000792

Terms are the sum of 2, 3, or 6 consecutive hexagonal numbers.

T. D. Noe, Plot of 1000 terms

T. D. Noe, Table of 1000 terms

Wikipedia, Polygonal number

(Mma) nn = 400; f = 6; 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

© Tony D Noe 2014-2015