login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107986 Composite numbers of the form p+2 where p is prime. 1
4, 9, 15, 21, 25, 33, 39, 45, 49, 55, 63, 69, 75, 81, 85, 91, 99, 105, 111, 115, 129, 133, 141, 153, 159, 165, 169, 175, 183, 195, 201, 213, 225, 231, 235, 243, 253, 259, 265, 273, 279, 285, 295, 309, 315, 319, 333, 339, 351, 355, 361, 369, 375, 381, 385, 391 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

COMMENTS

This sequence is analogous to the sequence formed by the Goldbach-Euler conjecture that every even number greater than 2 is the sum of 2 primes. If p+2 is prime then p and p+2 are twin primes. The number of terms in this sequence is infinite. This follows immediately from the proof that the number of primes p is infinite. Conjecture: The ratio of the number of terms in this sequence to Pi(n) tends to a limit < 1.

MATHEMATICA

f[n_]:=PrimeQ[n+2]; lst={}; Do[p=Prime[n]; If[ !f[p], AppendTo[lst, p+2]], {n, 6!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Nov 22 2009]

PROG

(PARI) sum2pr(n) = \Composite numbers of form p+2. { c=0; cp=0; forprime(x=2, n, cp++; y=x+2; if(isprime(y)==0, c++; print1(y", ") ) ); print(); print(c/cp+.) }

CROSSREFS

Cf. A067774.

Sequence in context: A166131 A122927 A078505 * A062721 A104243 A099055

Adjacent sequences:  A107983 A107984 A107985 * A107987 A107988 A107989

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jun 13 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:53 EST 2012. Contains 205860 sequences.