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

 


A109274
Numbers k such that k+1 is prime, 2k+1 composite.
3
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
OFFSET
1,1
COMMENTS
Includes all terms from A109273.
FORMULA
a(n) = A307390(n) - 1. - Bhavik Mehta, Aug 14 2024
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
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 | 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 September 20 21:38 EDT 2024. Contains 376078 sequences. (Running on oeis4.)