login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A144974
Centered heptagonal prime numbers.
1
43, 71, 197, 463, 547, 953, 1471, 1933, 2647, 2843, 3697, 4663, 5741, 8233, 9283, 10781, 11173, 12391, 14561, 18397, 20483, 29303, 29947, 34651, 37493, 41203, 46691, 50821, 54251, 56897, 57793, 65213, 68111, 72073, 76147, 84631, 89041
OFFSET
1,1
MATHEMATICA
lst={}; Do[p=(7*n^2-7*n+2)/2; If[PrimeQ[p], AppendTo[lst, p]], {n, 6!}]; lst
CROSSREFS
Sequence in context: A175730 A087765 A141971 * A144975 A087699 A054807
KEYWORD
nonn
AUTHOR
STATUS
approved