OFFSET
1,4
COMMENTS
Stacking perfect fifths (the frequency ratio of a fifth is 3/2), a division by 2^a(n) leads the equivalent tone belonging to the first octave interval [1,2). For example, the third fifth, (3/2)^3, falls into the second octave. This means it lies in the interval [2^1,2^2)=[2,4). Hence ((3/2)^3)/2^1 belongs to the first octave, the interval [1,2).
This sequence coincides for the first 93 term with the floor of y(n)= 4*Pi*log(phi)*n/(Pi^2 + (2*log(phi)^2)), with phi:=(1+sqrt(5))/2. a(n) = floor(y(n)), for n=1..93. Note that y(n) is not the imaginary part of the zero of the Fibonacci function because of a different bracket setting. See A214656. - Wolfdieter Lang, Jul 24 2012
LINKS
Handbook for Acoustic Ecology, Pythagorean Scale.
Eric Weisstein's World of Music, Pythagorean Scale
FORMULA
a(n) = A098294(n)-1, n >= 1.
a(n) = ceiling(tau*n)-1 with tau = log(3)/log(2)-1 = 0.58496250072..., n >= 1.
a(n) = A056576(n) - n. - Ruud H.G. van Tol, Jan 26 2024
EXAMPLE
(3/2)^12 lies in the eighth octave [2^7,2^8) and
((3/2)^12)/2^a(12)= ((3/2)^12)/2^7 = 3^12/2^19 = 531441/524288 = 1.01363... belongs to the first octave [1,2). This ratio is called the Pythagorean comma.
PROG
(PARI) a(n) = logint(3^n, 2) - n; \\ Ruud H.G. van Tol, Jan 26 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Oct 18 2004
STATUS
approved
