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 6*p + 5 is also prime.
15

%I #27 Sep 08 2022 08:44:47

%S 2,3,7,11,13,17,29,31,37,41,43,59,71,73,79,83,97,107,109,113,137,139,

%T 151,157,163,181,191,193,197,227,239,241,251,263,269,277,307,311,317,

%U 337,347,349,367,373,389,401,409,421,431,443,449,479,487,499,503,541,557,577,587

%N Primes p such that 6*p + 5 is also prime.

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

%t Select[Prime[Range[1000]], PrimeQ[6 # + 5] &] (* _Vincenzo Librandi_, May 20 2014 *)

%o (Magma) [n: n in PrimesUpTo(100) | IsPrime(6*n+5)]; // _Vincenzo Librandi_, Nov 20 2010

%Y Subsequence of A059325.

%K nonn,easy

%O 1,1

%A _David W. Wilson_