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 64*p + 189 is also prime.
4

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

%S 2,5,13,17,37,53,61,71,73,83,97,101,103,127,131,173,191,193,211,223,

%T 227,233,251,263,283,317,337,347,367,373,431,433,443,457,487,503,521,

%U 557,577,601,641,643,647,653,673,677,701,743,797,821,823,827,883,887,907

%N Primes p such that 64*p + 189 is also prime.

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

%p a := proc (n) if isprime(64*ithprime(n)+189) = true then ithprime(n) else end if end proc: seq(a(n), n = 1 .. 180); # _Emeric Deutsch_, Mar 01 2009

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

%o (Magma) [p: p in PrimesUpTo(1000)| IsPrime(64*p + 189)]; // _Vincenzo Librandi_, Oct 30 2012

%Y Cf. A156004, A156005, A156007.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Feb 01 2009

%E More terms from _Emeric Deutsch_, Mar 01 2009