login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A241945 Indices n where both prime(n) + 2*prime(n+1) and 2*prime(n) + prime(n+1) are primes. 4

%I #23 Jan 06 2019 12:34:02

%S 2,3,6,17,27,30,48,53,57,68,94,137,138,143,156,157,248,259,269,289,

%T 296,316,360,369,402,425,429,430,432,446,474,500,522,580,596,631,656,

%U 760,777,810,828,875,906,951,994,1154,1163,1233,1273,1338,1346,1352,1378,1381,1385,1391,1402,1422,1436,1495,1552,1602

%N Indices n where both prime(n) + 2*prime(n+1) and 2*prime(n) + prime(n+1) are primes.

%H Amiram Eldar and Zak Seidov, <a href="/A241945/b241945.txt">Table of n, a(n) for n = 1..10000</a>

%e n=2 is in the sequence because 3 + 2*5 = 13 and 5 + 2*3 = 11 are primes.

%e n=3 is in the sequence because 5 + 2*7 = 19 and 7 + 2*5 = 17 are primes.

%e n=6 is in the sequence because 17 + 2*13 = 43 and 13 + 2*17 = 47 are primes.

%o (PARI) isok(n) = my(p=prime(n), q=nextprime(p+1)); isprime(p+2*q) && isprime(2*p+q); \\ _Michel Marcus_, Jan 06 2019

%Y Cf. A094104 (primes of form 2*p + q), A094105 (primes of form p + 2*q).

%Y Cf. A181848, A186169, A215684.

%K nonn

%O 1,1

%A _Zak Seidov_, May 03 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:35 EDT 2024. Contains 371968 sequences. (Running on oeis4.)