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 2*p+3, 64*p+189 are both prime.
1

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

%S 2,5,13,17,53,73,97,127,173,193,223,227,283,337,487,503,557,643,647,

%T 743,797,827,887,997,1033,1187,1193,1237,1483,1553,1583,1613,1663,

%U 1693,2027,2143,2203,2273,2297,2437,2467,2617,2777,2833,2843,2857,3163,3167,3343

%N Primes p such that 2*p+3, 64*p+189 are both prime.

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

%t Select[Prime[Range[3500]], And @@ PrimeQ[{2# + 3, 64# + 189}]&] (* _Vincenzo Librandi_, Oct 31 2012 *)

%o (Magma) [p: p in PrimesUpTo(3600) | IsPrime(2*p + 3) and IsPrime(64*p + 189)]; // _Vincenzo Librandi_, Oct 31 2012

%Y Cf. A156009.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Feb 01 2009