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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A241809 Semiprimes sp such that sp+2 is a prime. 2
9, 15, 21, 35, 39, 51, 57, 65, 69, 77, 87, 95, 111, 129, 155, 161, 177, 209, 221, 237, 249, 267, 291, 305, 309, 329, 335, 365, 371, 377, 381, 395, 407, 417, 437, 447, 485, 489, 497, 501, 519, 545, 591, 597, 611, 629, 671, 681, 689, 699, 707, 717, 731, 737, 749 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..1370

FORMULA

a(n) = A063638(n) - 2.

EXAMPLE

a(2) = 15 = 3*5, which is semiprime and 15+2 = 17 is a prime.

a(6) = 51 = 3*17, which is semiprime and 51+2 = 53 is a prime.

MAPLE

with(numtheory): A241809:= proc(); if bigomega(x)=2 and isprime(x+2)then  RETURN (x); fi; end: seq(A241809 (), x=1..2000);

MATHEMATICA

A241809={}; Do[If[PrimeOmega[n]==2&&PrimeQ[n+2], AppendTo[A241809, n]], {n, 1000}]; A241809

Select[Prime[Range[200]]-2, PrimeOmega[#]==2&] (* Harvey P. Dale, Aug 06 2015 *)

PROG

(PARI) for(k=1, 1000, if(bigomega(k)==2 && isprime(k+2), print1(k, ", "))) \\ Colin Barker, May 07 2014

CROSSREFS

Cf. A001358, A062721, A063638, A107986.

Sequence in context: A050991 A033553 A020192 * A063174 A072569 A072572

Adjacent sequences:  A241806 A241807 A241808 * A241810 A241811 A241812

KEYWORD

nonn,easy

AUTHOR

K. D. Bajpai, Apr 29 2014

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 April 6 08:44 EDT 2020. Contains 333268 sequences. (Running on oeis4.)