cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A071186 #15 May 19 2022 09:32:45
%S A071186 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 A071186 64,65,66,72,77,79,84,89,91,92,96,97,98,99,101,103,105,109,112,118,
%U A071186 120,126,127,128,129,130,133,135,140,144,146,152,153,155,163,166,172,173
%N A071186 Numbers k such that prime(2*k)-2*prime(k) is prime.
%C A071186 Numbers k such that A066066(k) is prime. - _Amiram Eldar_, May 19 2022
%H A071186 Amiram Eldar, <a href="/A071186/b071186.txt">Table of n, a(n) for n = 1..10000</a>
%t A071186 Select[Range[200], PrimeQ[Prime[2*#] - 2*Prime[#]] &] (* _Amiram Eldar_, May 19 2022 *)
%o A071186 (PARI) for(n=1,251,if(isprime(prime(2*n)-2*prime(n))==1,print1(n,",")))
%Y A071186 Cf. A000040, A031215, A066066, A100484.
%K A071186 easy,nonn
%O A071186 1,1
%A A071186 _Benoit Cloitre_, Jun 10 2002