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.

A258054 Circle of fifths cycle (counterclockwise).

Original entry on oeis.org

1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8
Offset: 1

Views

Author

Peter Woodward, May 17 2015

Keywords

Comments

The twelve notes dividing the octave are numbered 1 through 12 sequentially. This sequence begins at a certain note, travels down a perfect fifth twelve times (seven semitones), and arrives back at the same note. If justly tuned fifths are used, the final note will be flat by the Pythagorean comma (roughly 23.46 cents or about a quarter of a semitone).
Period 12: repeat [1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8]. - Omar E. Pol, May 18 2015
The string [1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8] is also in both A023127 and A054073. - Omar E. Pol, May 19 2015

Examples

			For a(3), 1+5+5 = 11 (mod 12).
For a(4), 1+5+5+5 = 4 (mod 12).
		

Crossrefs

Cf. A221363 (Pythagorean comma), A257811 (clockwise circle of fifths cycle).

Programs

  • Magma
    [1+5*(n-1) mod 12: n in [1..80]]; // Vincenzo Librandi, May 19 2015
    
  • Maple
    A258054:=n->1+(5*(n-1) mod 12): seq(A258054(n), n=1..100); # Wesley Ivan Hurt, May 22 2015
  • Mathematica
    PadRight[{}, 100, {1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8}] (* Vincenzo Librandi, May 19 2015 *)
    LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},{1, 6, 11, 4, 9, 2, 7, 12, 5, 10, 3, 8},108] (* Ray Chandler, Aug 27 2015 *)
  • PARI
    a(n)=1+5*(n-1) \\ Charles R Greathouse IV, May 22 2015
    
  • PARI
    Vec(x*(1 + 6*x + 11*x^2 + 4*x^3 + 9*x^4 + 2*x^5 + 7*x^6 + 12*x^7 + 5*x^8 + 10*x^9 + 3*x^10 + 8*x^11) / (1 - x^12) + O(x^80)) \\ Colin Barker, Nov 15 2019

Formula

Periodic with period 12: a(n) = 1 + (5(n-1) mod 12).
From Colin Barker, Nov 15 2019: (Start)
G.f.: x*(1 + 6*x + 11*x^2 + 4*x^3 + 9*x^4 + 2*x^5 + 7*x^6 + 12*x^7 + 5*x^8 + 10*x^9 + 3*x^10 + 8*x^11) / (1 - x^12).
a(n) = a(n-12) for n>12.
(End)

Extensions

Extended by Ray Chandler, Aug 27 2015

A358029 Decimal expansion of the ratio between step sizes of the diatonic and chromatic semitones produced by a circle of 12 perfect fifths in Pythagorean tuning.

Original entry on oeis.org

1, 2, 6, 0, 0, 1, 6, 7, 5, 2, 6, 7, 0, 8, 2, 4, 5, 3, 5, 9, 3, 1, 2, 7, 6, 1, 2, 2, 6, 0, 3, 9, 2, 4, 2, 3, 3, 7, 1, 8, 1, 1, 5, 5, 7, 9, 2, 3, 2, 7, 6, 7, 8, 3, 3, 4, 1, 0, 6, 5, 2, 0, 1, 6, 1, 6, 2, 0, 8, 7, 4, 8, 0, 0, 8, 3, 1, 2, 2, 7, 8, 4, 6, 8, 8, 1, 4
Offset: 1

Views

Author

Eliora Ben-Gurion, Oct 25 2022

Keywords

Comments

Pythagorean tuning is a form of tuning produced by repeated stacking of the perfect fifth, which has the frequency ratio of 3:2. A circle of 12 perfect fifths is approximately equal to the tuning system predominantly in use in the world today. If the perfect fifth is stacked 12 times and the resulting sequence is octave-reduced, then this divides the octave into 5 chromatic semitones which are equal to 2187/2048 (A229948), and 7 diatonic semitones which are equal to 256/243 (A229943). Diatonic semitones are those which are derived from a circle of 7 perfect fifths, the diatonic scale, and 5 chromatic semitones are a byproduct of an addition of 5 more perfect fifths, that is, another rotation, to the scale.

Examples

			1.2600167526708245359312761226039242337181155792327678334106520161...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[(7*Log[3] - 11*Log[2])/(8*Log[2] - 5*Log[3]), 10, 120][[1]] (* Amiram Eldar, Jun 21 2023 *)

Formula

Equals log(2187/2048) / log(256/243).
Equals log(A229948) / log(A229943).
Equals (7*log(3) - 11*log(2))/(8*log(2) - 5*log(3)).
Showing 1-2 of 2 results.