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”).

Centered heptagonal prime numbers.
1

%I #6 Oct 11 2019 11:44:12

%S 43,71,197,463,547,953,1471,1933,2647,2843,3697,4663,5741,8233,9283,

%T 10781,11173,12391,14561,18397,20483,29303,29947,34651,37493,41203,

%U 46691,50821,54251,56897,57793,65213,68111,72073,76147,84631,89041

%N Centered heptagonal prime numbers.

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Centered_heptagonal_number">Centered heptagonal prime number</a>

%t lst={};Do[p=(7*n^2-7*n+2)/2;If[PrimeQ[p],AppendTo[lst,p]],{n,6!}];lst

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Sep 27 2008