The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A109274 Numbers k such that k+1 is prime, 2k+1 composite. 2
4, 10, 12, 16, 22, 28, 40, 42, 46, 52, 58, 60, 66, 70, 72, 82, 88, 100, 102, 106, 108, 112, 126, 130, 136, 148, 150, 162, 166, 172, 178, 180, 190, 192, 196, 222, 226, 232, 238, 240, 250, 256, 262, 268, 276, 280, 282, 292, 310, 312, 316, 346, 348, 352, 358 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Includes all terms from A109273.
LINKS
MATHEMATICA
Select[Range[358], PrimeQ[#+1]&&CompositeQ[2#+1]&] (* James C. McMahon, Mar 05 2024 *)
PROG
(PARI) isok(n) = isprime(n+1) && !isprime(2*n+1); \\ Michel Marcus, Oct 06 2013
CROSSREFS
Sequence in context: A366530 A117099 A026180 * A071565 A233741 A310340
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 25 2005
EXTENSIONS
Corrected by Michel Marcus, Oct 06 2013
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 May 16 10:52 EDT 2024. Contains 372552 sequences. (Running on oeis4.)