login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271653 Primes of the form 2*prime(2k) - prime(k). 1
11, 31, 47, 61, 113, 127, 179, 241, 307, 419, 433, 449, 491, 853, 881, 1063, 1153, 1201, 1289, 1487, 1823, 1997, 2011, 2027, 2333, 2441, 2459, 2647, 2851, 2927, 3041, 3449, 3491, 3853, 4057, 4241, 4259, 4397, 4423, 4679, 4721, 5003, 5179, 5233, 5569, 5653, 5867, 6397, 6481, 6661 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..50.

EXAMPLE

For n=1, 2*prime(2*2)-prime(2) = 2*7-3 = 11 is prime when k=2.

For n=2, 2*prime(2*4)-prime(4) = 2*19-7 = 31 is prime when k=4.

MAPLE

A271653:=n->`if`(isprime(2*ithprime(2*n)-ithprime(n)), 2*ithprime(2*n)-ithprime(n), NULL): seq(A271653(n), n=1..600); # Wesley Ivan Hurt, Apr 17 2016

MATHEMATICA

Select[Table[2*Prime[2 k] - Prime[k], {k, 0, 100}], PrimeQ]

PROG

(PARI) lista(nn) = for(n=1, nn, if(isprime(p=2*prime(2*n)-prime(n)), print1(p, ", "))); \\ Altug Alkan, Apr 13 2016

(MAGMA) [a: n in [0..400] | IsPrime(a) where a is 2*NthPrime(2*n) - NthPrime(n)]; // Vincenzo Librandi, Apr 15 2016

CROSSREFS

Cf. A272042.

Sequence in context: A109548 A173767 A142343 * A043124 A043904 A152293

Adjacent sequences:  A271650 A271651 A271652 * A271654 A271655 A271656

KEYWORD

nonn

AUTHOR

Andres Cicuttin, Apr 11 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 18:53 EDT 2021. Contains 343050 sequences. (Running on oeis4.)