login
Primes p such that 2p+1, 4p+3, 6p+5, 8p+7 are all primes.
6

%I #22 Sep 08 2022 08:45:18

%S 2,6449,12119,19709,30389,74699,107699,133499,143609,167759,175349,

%T 206369,210209,229739,244589,254279,334289,422069,528509,541529,

%U 607319,641969,658349,751529,810539,810809,812849,926669,934259,956909,968729

%N Primes p such that 2p+1, 4p+3, 6p+5, 8p+7 are all primes.

%H Donovan Johnson, <a href="/A107021/b107021.txt">Table of n, a(n) for n = 1..1000</a>

%t fQ[n_]:=And@@PrimeQ[{2n+1,4n+3,6n+5,8n+7}];Select[Prime@Range@77000,fQ] (* _Harvey P. Dale_, Dec 16 2010 *)

%o (Magma) [p: p in PrimesUpTo(1000000)| IsPrime(2*p+1) and IsPrime(4*p+3) and IsPrime(6*p+5) and IsPrime(8*p+7)]; // _Vincenzo Librandi_, Nov 13 2010

%Y Cf. A107024: p, 2p+1, 4p+3, 6p+5, 8p+7, 10p+9, 12p+11, 14p+13 all prime; A107023: p, 2p+1, 4p+3, 6p+5, 8p+7, 10p+9, 12p+11 all prime; A107022: p, 2p+1, 4p+3, 6p+5, 8p+7, 10p+9 all prime; A107020: p, 2p+1, 4p+3, 6p+5 all prime; A007700: p, 2p+1, 4p+3 all prime; A005384: p, 2p+1 prime (p = Sophie Germain primes).

%Y Cf. A005384, A007700, A107020, A107022, A107023, A107024.

%K nonn

%O 1,1

%A _Zak Seidov_, May 09 2005

%E More terms from _Vincenzo Librandi_, Apr 01 2010