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”).

Numbers k such that prime(2*k)-2*prime(k) is prime.
1

%I #15 May 19 2022 09:32:45

%S 3,4,5,6,10,11,13,15,18,19,20,26,29,33,34,37,42,43,44,49,50,60,61,62,

%T 64,65,66,72,77,79,84,89,91,92,96,97,98,99,101,103,105,109,112,118,

%U 120,126,127,128,129,130,133,135,140,144,146,152,153,155,163,166,172,173

%N Numbers k such that prime(2*k)-2*prime(k) is prime.

%C Numbers k such that A066066(k) is prime. - _Amiram Eldar_, May 19 2022

%H Amiram Eldar, <a href="/A071186/b071186.txt">Table of n, a(n) for n = 1..10000</a>

%t Select[Range[200], PrimeQ[Prime[2*#] - 2*Prime[#]] &] (* _Amiram Eldar_, May 19 2022 *)

%o (PARI) for(n=1,251,if(isprime(prime(2*n)-2*prime(n))==1,print1(n,",")))

%Y Cf. A000040, A031215, A066066, A100484.

%K easy,nonn

%O 1,1

%A _Benoit Cloitre_, Jun 10 2002