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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161666 Smallest of 4 consecutive composite numbers which sum up to prime. 1
22, 46, 64, 76, 82, 94, 112, 124, 160, 166, 208, 220, 232, 250, 256, 274, 304, 328, 370, 376, 394, 400, 442, 448, 454, 466, 502, 592, 604, 610, 646, 652, 670, 676, 724, 730, 748, 754, 760, 838, 850, 862, 904, 916, 940, 946, 964, 970, 1012, 1066, 1108, 1114 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

One of a(n)+1, a(n)+2, or a(n)+3 is prime, else the sum is even. Therefore there are O(n/log n) members of this sequence up to n by the Prime Number Theorem.

EXAMPLE

22+24+25+26=97,..

MATHEMATICA

CompositeNext[n_]:=Module[{k=n+1}, While[PrimeQ[k], k++ ]; k]; lst={}; Do[p=n+CompositeNext[n]+CompositeNext[CompositeNext[n]]+CompositeNext[CompositeNext[CompositeNext[n]]]; If[ !PrimeQ[n]&&PrimeQ[p], AppendTo[lst, n]], {n, 2, 5*6!}]; lst

CROSSREFS

Sequence in context: A106838 A190614 A158862 * A132763 A044099 A044480

Adjacent sequences:  A161663 A161664 A161665 * A161667 A161668 A161669

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Jun 15 2009

EXTENSIONS

Comment from Charles R Greathouse IV (charles.greathouse(AT)case.edu), Oct 12 2009

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 02:38 EST 2012. Contains 205689 sequences.