login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A076298
Prime(n)+ s*n is prime, s=3.
5
1, 4, 6, 8, 10, 12, 16, 20, 26, 28, 32, 34, 38, 40, 42, 46, 48, 50, 56, 60, 62, 64, 68, 78, 86, 90, 94, 102, 104, 120, 122, 128, 130, 138, 140, 144, 146, 148, 162, 166, 170, 180, 182, 186, 190, 200, 204, 208, 214, 230, 238, 244, 246, 250, 252, 254, 260, 270, 282
OFFSET
1,2
COMMENTS
See also A064402 (s=1), A076297 (s=2), A076299 (s=4), A076300 (s=5).
LINKS
EXAMPLE
4 is OK because p(4) + 3*4 = 7 + 12 = 19 is prime.
MATHEMATICA
Select[Range[300], PrimeQ[3#+Prime[#]]&] (* Harvey P. Dale, Sep 06 2012 *)
PROG
(Magma) [n: n in [0..500]| IsPrime(NthPrime(n) +3*n)]; // G. C. Greubel, May 04 2018
(PARI) select(x->isprime(x), vector(500, n, prime(n) + 3*n), 1) \\ G. C. Greubel, May 04 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 05 2002
STATUS
approved