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

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106022 Primes p such that 2*p +/- 3 and 8*p +/- 3 are all primes. 1
5, 7, 13, 127, 2477, 2857, 3163, 3793, 9127, 11173, 11437, 12347, 22567, 23227, 27847, 28573, 28867, 30703, 36793, 49937, 50147, 57373, 67523, 71483, 81353, 82657, 83077, 85303, 92413, 108557, 110083, 123997, 126223, 132383, 141917 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Prime[Range[4000]], PrimeQ[8#+3]&&PrimeQ[8#-3]&&PrimeQ[2#+3]&&PrimeQ[2#-3]&]

Select[Prime[Range[20000]], AllTrue[Flatten[{2#+{3, -3}, 8#+{3, -3}}], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jun 12 2015 *)

PROG

(MAGMA) [p: p in PrimesUpTo(1000000)| IsPrime(2*p+3) and IsPrime(2*p-3)and IsPrime(8*p-3) and IsPrime(8*p+3)] // Vincenzo Librandi, Nov 13 2010

CROSSREFS

Sequence in context: A102873 A342506 A158892 * A279795 A050085 A314331

Adjacent sequences:  A106019 A106020 A106021 * A106023 A106024 A106025

KEYWORD

nonn

AUTHOR

Zak Seidov, May 05 2005

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 December 4 22:42 EST 2021. Contains 349526 sequences. (Running on oeis4.)