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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A076300 Numbers n such that prime(n) + 5*n is prime. 5

%I

%S 1,2,6,8,10,12,14,18,30,36,38,40,48,50,52,54,64,66,68,72,74,78,80,84,

%T 96,110,118,120,122,124,134,142,148,150,154,160,178,184,186,188,198,

%U 204,210,214,220,224,228,238,240,242,246,250,252,254,258,260,268,270

%N Numbers n such that prime(n) + 5*n is prime.

%H G. C. Greubel, <a href="/A076300/b076300.txt">Table of n, a(n) for n = 1..10000</a>

%e 2 is in the sequence because p(2) + 5*2 = 3 + 10 = 13 is prime.

%t Select[Range[300],PrimeQ[Prime[#]+5#]&] (* _Harvey P. Dale_, Nov 27 2013 *)

%o (MAGMA) [n: n in [0..500]| IsPrime(NthPrime(n) +5*n)]; // _Vincenzo Librandi_, Apr 06 2011

%o (PARI) select(x->isprime(x), vector(500, n, prime(n) + 5*n), 1) \\ _Michel Marcus_, Jan 15 2015

%o (PARI) isok(n) = isprime(prime(n) + 5*n); \\ _Michel Marcus_, May 05 2018

%Y Cf. A064402 (s=1), A076297 (s=2), A076298 (s=3), A076299 (s=4).

%K nonn

%O 1,2

%A _Zak Seidov_, Oct 05 2002

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.

Last modified September 27 06:54 EDT 2021. Contains 347673 sequences. (Running on oeis4.)