login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158713 Primes p such that p1=Ceiling[p/2]+p is prime and p2=Ceiling[p1/2]+p is prime. 6
7, 47, 127, 167, 239, 439, 479, 607, 967, 1319, 1559, 1999, 2239, 2447, 2719, 3359, 4007, 4327, 4967, 5039, 5279, 5407, 5879, 6007, 6287, 7127, 7607, 8167, 8447, 8527, 8999, 9127, 9439, 9967, 10487, 11087, 11287, 11399, 11527, 11719, 11927, 11959, 12479 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cpQ[n_]:=Module[{p1=Ceiling[n/2]+n}, AllTrue[{p1, Ceiling[p1/2]+n}, PrimeQ]]; Select[Prime[Range[2000]], cpQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 29 2017 *)
CROSSREFS
Sequence in context: A139916 A009219 A348394 * A142185 A158914 A046872
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and incorrect Mathematica program deleted by Harvey P. Dale, May 29 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 15:16 EDT 2024. Contains 371780 sequences. (Running on oeis4.)