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!)
A076299 Prime(n) + s*n is prime, s=4. 5
2, 3, 4, 5, 6, 9, 15, 17, 20, 21, 22, 25, 27, 30, 31, 33, 42, 46, 54, 56, 58, 60, 62, 67, 72, 73, 78, 81, 84, 86, 87, 88, 90, 93, 96, 99, 100, 105, 111, 112, 113, 115, 119, 127, 128, 133, 135, 137, 145, 146, 151, 152, 162, 163, 164, 165, 168, 170, 172, 173, 176, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See also A064402 (s=1), A076297 (s=2), A076298 (s=3), A076300 (s=5).

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

EXAMPLE

4 is OK because p(4) + 4*4 = 7 + 16 = 23 is prime.

MATHEMATICA

Select[Range[500], PrimeQ[Prime[#] + 4 #] &] (* G. C. Greubel, May 04 2018 *)

PROG

(MAGMA) [n: n in [0..500]| IsPrime(NthPrime(n) +4*n)]; // G. C. Greubel, May 04 2018

(PARI) select(x->isprime(x), vector(500, n, prime(n) + 4*n), 1) \\ G. C. Greubel, May 04 2018

CROSSREFS

Cf. A064402, A076297, A076298, A076300.

Sequence in context: A307972 A211697 A211676 * A136683 A200332 A303953

Adjacent sequences:  A076296 A076297 A076298 * A076300 A076301 A076302

KEYWORD

nonn

AUTHOR

Zak Seidov, Oct 05 2002

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 February 26 21:58 EST 2020. Contains 332295 sequences. (Running on oeis4.)