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

A156723 a(n)=A156253(n)-A156251(n).

Original entry on oeis.org

0, 1, 0, 1, 0, 1, 2, 3, 2, 3, 4, 3, 4, 3, 4, 5, 4, 5, 4, 5, 6, 7, 6, 7, 8, 9, 8, 9, 8, 9, 10, 9, 10, 11, 12, 11, 12, 13, 12, 13, 12, 13, 14, 15, 14, 15, 16, 17, 16, 17, 18, 17, 18, 17, 18, 19, 18, 19, 18, 19, 20, 21, 20, 21, 22, 21, 22, 21, 22, 23, 22, 23, 24, 25, 24, 25, 26, 27, 26, 27
Offset: 1

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Comments

a(2n) is odd, a(2n+1) is even.

Formula

a(n) is expected to be asymptotic to n/3.

A156724 a(n)=A156253(2n)-A156251(2n).

Original entry on oeis.org

1, 1, 1, 3, 3, 3, 3, 5, 5, 5, 7, 7, 9, 9, 9, 9, 11, 11, 13, 13, 13, 15, 15, 17, 17, 17, 17, 19, 19, 19, 21, 21, 21, 21, 23, 23, 25, 25, 27, 27, 27, 27, 27, 29, 29, 31, 31, 31, 31, 31, 33, 33, 35, 35, 37, 37, 37, 37, 39, 39, 39, 41, 41, 41, 43, 43, 43, 43, 45, 45, 45, 47, 47, 49, 49
Offset: 1

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Comments

a(n) is odd.

Formula

a(n) is expected to be asymptotic to 2n/3.

A156726 a(n)=A156253(2n-1)-A156251(2n-1).

Original entry on oeis.org

0, 0, 0, 2, 2, 4, 4, 4, 4, 4, 6, 6, 8, 8, 8, 10, 10, 12, 12, 12, 12, 14, 14, 16, 16, 18, 18, 18, 18, 18, 20, 20, 22, 22, 22, 22, 24, 24, 26, 26, 26, 28, 28, 28, 30, 30, 30, 30, 32, 32, 32, 34, 34, 36, 36, 36, 36, 38, 38, 40, 40, 40, 40, 40, 42, 42, 44, 44, 44, 44, 44, 46, 46, 48
Offset: 1

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Comments

a(n) is even.

Formula

a(n) is expected to be asymptotic to 2n/3.

A156729 a(n)=(v(2*n+2)-v(2*n))/2 where v(n)=A156253(n)-A156251(n).

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Crossrefs

A156731 a(n)=(v(2*n+1)-v(2*n-1))/2 where v(n)=A156253(n)-A156251(n).

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Crossrefs

A156728 a(n) = abs(A054354(n)).

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Feb 14 2009

Keywords

Comments

This sequence is the image of the Kolakoski sequence A000002 under the morphism 1->1, 2->01. - Gabriele Fici, Aug 12 2013

Crossrefs

Programs

  • Mathematica
    a2 = {1, 2, 2}; Do[ a2 = Join[a2, {1 + Mod[n - 1, 2]}], {n, 3, 105}, {i, 1, a2[[n]]}]; a[n_] := Mod[a2[[n]] + a2[[n + 1]], 2]; Table[a[n], {n, 1, 105}] (* Jean-François Alcover, Jun 18 2013 *)

Formula

a(n) = (v(n+1) - v(n) + 1)/2 where v(n) = A156253(n) - A156251(n).
a(n) = (A000002(n) + A000002(n+1)) mod 2.
a(n) = A156253(n+1) - A156253(n). - Alan Michael Gómez Calderón, Dec 20 2024
Showing 1-6 of 6 results.