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.

A356464 Number of black keys in each group of black keys on a standard 88-key piano (left to right).

Original entry on oeis.org

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

Views

Author

Peter Woodward, Aug 08 2022

Keywords

Comments

On a standard piano keyboard, the black keys appear in groups of two and three, with each group separated from adjacent groups by the presence of two white keys that have no black key between them.
The black keys in a group of two are C#/Db and D#/Eb; the black keys in a group of three are F#/Gb, G#/Ab, and A#/Bb.
The A#/Bb key near the left end of the keyboard is a special case; it is the only black key in its group because the white A key to its left is the leftmost key on the keyboard.

Examples

			From _Jon E. Schoenfield_, Aug 12 2022: (Start)
In the diagram below, five octaves (i.e., sets of 12 consecutive keys) have been omitted (as represented by the ellipses):
.
    n |  1       2         3       ...     14        15
  ----+---------------------------------------------------------
  a(n)|  1       2         3       ...      2         3
    ______________________________ ... _________________________
      | |/| | |/||/| | |/||/||/| |     | |/||/| | |/||/||/| |  |
      | |/| | |/||/| | |/||/||/| |     | |/||/| | |/||/||/| |  |
      | |/| | |/||/| | |/||/||/| |     | |/||/| | |/||/||/| |  |
      | |_| | |_||_| | |_||_||_| |     | |_||_| | |_||_||_| |  |
      |  |  |  |  |  |  |  |  |  |     |  |  |  |  |  |  |  |  |
      |  |  |  |  |  |  |  |  |  |     |  |  |  |  |  |  |  |  |
      |__|__|__|__|__|__|__|__|__|     |__|__|__|__|__|__|__|__|
       A  B  C  D  E  F  G  A  B   ...  C  D  E  F  G  A  B  C
(End)
		

Crossrefs