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-4 of 4 results.

A138710 n-th run has length n-th positive Fibonacci numbers, with digits 0 and 1 only, starting with 0.

Original entry on oeis.org

0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Omar E. Pol, Mar 29 2008

Keywords

Examples

			.n ..... Run ................. Length
.1 ..... 0 ................... 1
.2 ..... 1 ................... 1
.3 ..... 0,0 ................. 2
.4 ..... 1,1,1 ............... 3
.5 ..... 0,0,0,0,0 ........... 5
.6 ..... 1,1,1,1,1,1,1,1 ..... 8
		

Crossrefs

A138712 n-th run has length n-th positive triangular number, with digits 0 and 1 only, starting with 0.

Original entry on oeis.org

0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Omar E. Pol, Mar 29 2008

Keywords

Examples

			.n ..... Run ............................... Length
.1 ..... 0 ................................. 1
.2 ..... 1,1,1 ............................. 3
.3 ..... 0,0,0,0,0,0........................ 6
.4 ..... 1,1,1,1,1,1,1,1,1,1 ............... 10
.5 ..... 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ..... 15
		

Crossrefs

A138885 n-th run has length n-th nonprime number, with digits 0 and 1 only, starting with 1.

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Apr 06 2008

Keywords

Examples

			.n ..... Run ................... Length
.1 ..... 1 ..................... 1
.2 ..... 0,0,0,0 ............... 4
.3 ..... 1,1,1,1,1,1 ........... 6
.4 ..... 0,0,0,0,0,0,0,0 ....... 8
.5 ..... 1,1,1,1,1,1,1,1,1 ..... 9
		

Crossrefs

Programs

  • Mathematica
    Join[{1},{PadRight[{},#[[1]],0],PadRight[{},#[[2]],1]}&/@Partition[Select[Range[ 20],CompositeQ],2]]//Flatten (* Harvey P. Dale, May 26 2023 *)

A138886 n-th run has length n-th nonprime number A018252, with digits 0 and 1 only, starting with 0.

Original entry on oeis.org

0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Omar E. Pol, Apr 06 2008

Keywords

Comments

Also the n-th run has length A141468, with digits 0 and 1 only, starting with 1.

Examples

			.n ..... Run ................... Length
.1 ..... 0 ..................... 1
.2 ..... 1,1,1,1 ............... 4
.3 ..... 0,0,0,0,0,0 ........... 6
.4 ..... 1,1,1,1,1,1,1,1 ....... 8
.5 ..... 0,0,0,0,0,0,0,0,0 ..... 9
		

Crossrefs

Showing 1-4 of 4 results.