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

A348248 Let d = A307720(n) - A307720(n-1); a(n) = 0 if d = 0; a(n) = 1 if d > 0; a(n) = 2 if d < 0.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Oct 20 2021

Keywords

Comments

If one looks at the graph of A307720 (that entry has a number of versions of this graph besides the one that appears when the "graph" button is clicked), one sees that initially A307720(n) is usually greater than A307720(n-1) if n is odd.
Think of A307720 as a piano score in which normally the right hand (n = 2*i+1) is to the right of the left hand (n = 2*i).
However, as can be seen in William Cheswick's colored plots, sometimes the right and left hands swap. In these plots, the right-hand points (n odd) are blue and the left-points (n even) are red.
A run of terms 121212... in the present sequence is a normal sequence of notes left, right, left, right, ..., where blue is on top.
A run 212121... indicates that the hands have been swapped (red is on top).
A run 000000... indicates that both hands are playing the same note (red and blue are at the same level).
The purpose of the present sequence and related sequences is to study when the hands swap. At present there is no explanation for when this happens.
The sequence of pictures suggests that there will be infinitely many occasions when the hands swap. The upper color in the picture will alternate infinitely often between red and blue, with longer and longer runs before the upper color changes.

Crossrefs

A348460 a(n) = min(A307720(n), A307720(n+1)).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1

Views

Author

N. J. A. Sloane, Oct 30 2021

Keywords

Comments

This is the minimum of A348241 and A348242. It is the lower line (red or blue) in Cheswick's pictures in A348248.
A companion to A348459.

Crossrefs

Programs

  • PARI
    See Links section.
Showing 1-2 of 2 results.