login
Primes p such that p + 72 is also prime.
7

%I #16 Sep 08 2022 08:45:41

%S 7,11,17,29,31,37,41,59,67,79,101,107,109,127,139,151,157,167,179,191,

%T 197,199,211,239,241,277,281,307,311,317,337,347,349,359,367,389,419,

%U 431,449,491,499,521,541,547,569,571,587,601,619,647,661,701,739,751

%N Primes p such that p + 72 is also prime.

%H Vincenzo Librandi, <a href="/A156105/b156105.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[1000]], PrimeQ[(# + 72)]&] (* _Vincenzo Librandi_, Oct 31 2012 *)

%o (Magma) [p: p in PrimesUpTo(1000)|IsPrime(p + 72)]; // _Vincenzo Librandi_, Oct 31 2012

%Y Cf. A156112, A156124.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Feb 08 2009