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!)
A079702 Numbers 2p where p is prime and 2p + 1 is composite. 0
14, 26, 34, 38, 62, 74, 86, 94, 118, 122, 134, 142, 146, 158, 194, 202, 206, 214, 218, 254, 274, 278, 298, 302, 314, 326, 334, 362, 386, 394, 398, 422, 446, 454, 458, 482, 514, 526, 538, 542, 554, 566, 614, 622, 626, 634, 662, 674, 694, 698, 706, 734, 746 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
7 is prime, 2*7 + 1 = 15 is composite, so a(1) = 7*2 = 14.
MAPLE
a:=proc(n) if isprime(2*ithprime(n)+1)=false then 2*ithprime(n) else fi end: seq(a(n), n=1..100); # Emeric Deutsch, Jul 25 2006
PROG
(PARI) forprime (p=3, 200, if (isprime(2*p+1), print1(2*p", ")))
CROSSREFS
Cf. A005277.
Equals 2 * A053176.
Sequence in context: A105583 A323030 A005277 * A235688 A176274 A344872
KEYWORD
nonn,easy
AUTHOR
Jon Perry, Jan 31 2003
EXTENSIONS
More terms from Emeric Deutsch, Jul 25 2006
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 14 10:41 EDT 2024. Contains 372532 sequences. (Running on oeis4.)