cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A136800 Number of composites in prime gaps of size 3 or larger, in order of appearance.

Original entry on oeis.org

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
Offset: 1

Views

Author

Enoch Haga, Jan 22 2008

Keywords

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

Examples

			a(1)=3 because in the run 8, 9, 10 there are three terms.
		

Crossrefs

Programs

  • Mathematica
    Select[#[[2]]-#[[1]]-1&/@Partition[Prime[Range[100]],2,1],#>2&] (* Harvey P. Dale, Apr 08 2015 *)

Formula

a(n)=A136799(n)-A136798(n)+1.

Extensions

Edited by R. J. Mathar, May 27 2009
Showing 1-1 of 1 results.