|
|
A130198
|
|
Single paradiddle. In percussion, the paradiddle is a four-note drum sticking pattern consisting of two alternating notes followed by two notes on the same hand.
|
|
3
|
|
|
0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Also the binary expansion of the constant 5/17 = 2^(-2) + 2^(-5) + 2^(-7) + ... - R. J. Mathar, Mar 27 2009
|
|
LINKS
|
|
|
FORMULA
|
a(n) = a(n-8) = a(n-1) - a(n-4) + a(n-5).
G.f.: -x*(1+x^3-x)/((x-1)*(1+x^4)). (End)
a(n) = (1-(-1)^((n+5)*(n+6)*(n^2+11*n+32)/8))/2. - Wesley Ivan Hurt, Aug 23 2015
|
|
MAPLE
|
|
|
MATHEMATICA
|
CoefficientList[Series[x*(1 - x + x^3)/((1 - x)*(1 + x^4)), {x, 0, 30}], x] (* Wesley Ivan Hurt, Aug 23 2015 *)
|
|
PROG
|
(Magma) [(1-(-1)^((n+5)*(n+6)*(n^2+11*n+32) div 8))/2 : n in [0..100]]; // Wesley Ivan Hurt, Aug 23 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|