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

Primes p such that p + 2^2, p + 4^2 and p + 6^2 are also primes.
2

%I #19 Mar 26 2024 05:17:38

%S 7,37,43,67,163,277,463,487,823,1087,1093,1213,1423,2683,3907,4447,

%T 5653,7687,8677,8803,11467,11923,13147,13693,15787,16417,16657,16927,

%U 18253,18397,19387,20113,20353,21487,27763,28627,30493,34483,38917,39103,40483,41227

%N Primes p such that p + 2^2, p + 4^2 and p + 6^2 are also primes.

%H G. C. Greubel, <a href="/A092475/b092475.txt">Table of n, a(n) for n = 1..10000</a>

%F A049492 INTERSECT A156104. - _R. J. Mathar_, Mar 26 2024

%e a(3) = 43.

%e 43 + 2^2 = 43 + 4 = 47, which is prime.

%e 43 + 4^2 = 43 + 16 = 59, which is prime.

%e 43 + 6^2 = 43 + 36 = 79, which is prime.

%t Select[Prime[Range[5000]],And@@PrimeQ[{#+4,#+16,#+36}]&] (* _Harvey P. Dale_, Jun 09 2011 *)

%Y Subsequence of A049492.

%K nonn

%O 1,1

%A _Ray G. Opao_, Mar 25 2004

%E More terms from _Harvey P. Dale_, Jun 09 2011