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!)
A136800 Number of composites in prime gaps of size 3 or larger, in order of appearance. 4
3, 3, 3, 5, 5, 3, 3, 5, 5, 5, 3, 5, 3, 5, 7, 3, 3, 3, 13, 3, 5, 9, 5, 5, 3, 5, 5, 9, 3, 11, 11, 3, 3, 5, 9, 5, 5, 5, 5, 3, 9, 13, 3, 3, 13, 5, 9, 3, 5, 7, 5, 5, 3, 5, 7, 3, 7, 9, 9, 5, 3, 5, 7, 3, 3, 11, 7, 3, 7, 3, 5, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence counts the terms in the runs of composites associated with A136798-A136799.
A129856 is obtained by removing the composites (9, 15 etc.) from this sequence.
This is sequence A046933, with the zero and all the 1's deleted. - R. J. Mathar, Jan 24 2008
LINKS
FORMULA
a(n)=A136799(n)-A136798(n)+1.
EXAMPLE
a(1)=3 because in the run 8, 9, 10 there are three terms.
MATHEMATICA
Select[#[[2]]-#[[1]]-1&/@Partition[Prime[Range[100]], 2, 1], #>2&] (* Harvey P. Dale, Apr 08 2015 *)
CROSSREFS
Sequence in context: A108025 A192451 A129856 * A126661 A162226 A001650
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Jan 22 2008
EXTENSIONS
Edited by R. J. Mathar, May 27 2009
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 March 28 05:02 EDT 2024. Contains 371235 sequences. (Running on oeis4.)