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!)
A100819 Composite numbers whose prime factors are twin primes. 1
9, 15, 21, 25, 27, 33, 35, 39, 45, 49, 51, 55, 57, 63, 65, 75, 77, 81, 85, 87, 91, 93, 95, 99, 105, 117, 119, 121, 123, 125, 129, 133, 135, 143, 145, 147, 153, 155, 165, 169, 171, 175, 177, 183, 187, 189, 195, 203, 205, 209, 213, 215, 217, 219, 221 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
221 = 13 * 17 (13 is the twin prime of 11 and 17 is the twin prime to 19).
MATHEMATICA
nn = 100; p = Prime[Range[nn]]; t = {}; Do[If[p[[n + 1]] - p[[n]] == 2 || p[[n]] - p[[n - 1]] == 2, AppendTo[t, p[[n]]]], {n, nn - 1}]; Select[Range[2, t[[-1]]], ! PrimeQ[#] && Complement[Transpose[FactorInteger[#]][[1]], t] == {} &] (* T. D. Noe, May 21 2013 *)
CROSSREFS
Cf. A077800 (twin primes).
Sequence in context: A014076 A067800 A155474 * A046446 A046350 A225438
KEYWORD
easy,nonn
AUTHOR
Walter Carlini, Jan 06 2005; corrected Jan 22 2005
EXTENSIONS
New name, typo in example fixed by Zak Seidov, May 20 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 13 18:40 EDT 2024. Contains 372522 sequences. (Running on oeis4.)