OFFSET
1,2
COMMENTS
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,0,0,0,0,1,-2).
FORMULA
a(n) = floor((110/127)*2^n).
G.f.: x*(1 + x + x^3 + x^4 + x^5)/((1 - 2*x)*(1 - x^7)). - Stefano Spezia, May 04 2024
EXAMPLE
For n=10, playing 10 + 1 = 11 notes of the major scale (in Ionian mode), the 10 intervals between the pitches C D E F G A B C' D' E' F' expressed in halftones are 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, whose values diminished by one give the binary form '1101110110', which in decimal is 886, hence a(10) = 886.
MATHEMATICA
Floor[110/127*2^Range[50]] (* Paolo Xausa, Jun 21 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Federico Provvedi, Apr 13 2024
STATUS
approved