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

Pythagorean primes p (primes of form 4*k + 1) such that 6*p -+ 1 are twin primes.
1

%I #7 Dec 25 2019 04:50:25

%S 5,17,137,313,373,397,577,593,653,773,1033,1117,1433,1613,2137,2153,

%T 2293,2333,2677,3257,3413,3593,3673,4153,4217,4597,4657,5197,5693,

%U 5717,6373,6673,6857,6997,7297,8377,8573,9277,9413,9433,10357,10973,11813

%N Pythagorean primes p (primes of form 4*k + 1) such that 6*p -+ 1 are twin primes.

%H Amiram Eldar, <a href="/A176133/b176133.txt">Table of n, a(n) for n = 1..10000</a>

%e 5 is a term since 5 = 4*1 + 1, and 6*5 - 1 = 29 and 6*5 + 1 = 31 are twin primes.

%t lst={};Do[If[PrimeQ[p=4*n+1]&&PrimeQ[6*p-1]&&PrimeQ[6*p+1],AppendTo[lst,p]],{n,0,8!}];lst

%Y Cf. A000040, A001359, A002144, A006512, A176131, A176132.

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Apr 09 2010