Beruflich Dokumente
Kultur Dokumente
p
= 1.
Proof If d > 1, then n = d
p
and k = dk
p
, and a simple computation proves this case:
d = n/
p
= k/k
p
, and therefore nk
p
k
p
= 0.
For the case d = 1, we will prove the result by induction on k. If k = 1, then E(1, n) is the
rhythm {10
n1
. . . . . . 0} with P = {10
n2
. . . . . . 0} and T = {0}. For this rhythm l
p
= n 1, k
p
= 1
and the required equality holds since (n 1) [1 (n 1)] = 1.
For the inductive step, assume the statement is true for all values less than k. Consider rst the
case n k < k. When the initialization step of Bjorklunds algorithm is executed, it produces a
list A of n k strings of
_
n
n k
_
bits each, and a list B of r = n mod (n k) strings of one bit. In other words, it performs
the division:
n = (n k)
_
n
n k
_
+ r. (4)
At this point we replace each string in list A by the symbol . This replacement transforms
lists A and B into the string {
nk
. . . . . . 1
r
. . . 1}. If we apply Bjorklunds algorithm to this string,
we will obtain a Euclidean rhythm E
(n k, n k + r),
that is, when is replaced by the original string in A, the Euclidean rhythm E(k, n) is recovered.
Figure 2 shows the entire process.
By Equation (4), it follows that r < n k; this implies that n k + r (n k) < n k.
Therefore, we can apply the induction hypothesis to E
p
(n k)l
p
= 1, where k
p
is the number of onsets (that is, s) in the main
pattern of E
(n k, n k + r), and l
p
is the number of pulses. The following equations show
the relationship between k
p
, l
p
and k
p
, l
p
:
k
p
= l
p
k
p
, since the number of s in the main pattern of E
(n k, n k + r) is equal to
the number of zeroes in E(k, n).
l
p
= k
p
_
n
nk
_
+ l
p
k
p
, where the rst termof the right-hand side accounts for the expansion
of , while the last two terms account for the number of ones in E
(n k, n k + r).
Applying the induction hypothesis to E
p
(n k)l
p
= rk
p
(n k)(l
p
k
p
)
= rk
p
(n k)
_
l
p
k
p
_
n
n k
__
= rk
p
(n k)l
p
+ k
p
(n r) = nk
p
(n k)l
p
= kl
p
n(l
p
k
p
) = kl
p
nk
p
.
We nowturn to the case when n k > k. The proof is similar to the previous case. As above, the
initialization step of Bjorklunds algorithm is rst applied to the input string {1
k
. . . 10
nk
. . . . . . 0}.
Each string in list A is now replaced by the symbol I. This yields the string {I
k
. . . I0
r
. . . 0},
where r = n mod k. Next we execute Bjorklunds algorithm on string {I
k
. . . I0
r
. . . 0}, which
produces a Euclidean rhythm E
(k, k + r)
is not less than k. However, since k + r k = r < k we can apply the result of the rst case to
E
p
kl
p
= 1, where k
p
is the number of onsets in the main
pattern of E
p
the number of pulses.
Again, we need to relate the main patterns of E
p
= k
p
, since the number of Is in E
p
_
n
k
_
+ l
p
k
p
, where the rst term on the right-hand side accounts for the expansion
of I, while the last two terms account for the number of zeroes in E
(k, k + r).
Figure 3. Proof of Lemma 3.1, case k < n k.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
Journal of Mathematics and Music 7
We can now carry out a similar manipulation as above to prove the result:
1 = (k + r)k
p
kl
p
= rk
p
k(l
p
k
p
) = rk
p
k
_
l
p
k
p
_
n
k
__
= rk
p
kl
p
+ k
p
(n r) = nk
p
kl
p
= nk
p
kl
p
.
Finally, we prove that the equality
t
k
p
k
t
p
= 1 holds. Using Equations (2) and (3)
together with the above result we obtain
1 = nk
p
k
p
= (p
p
+
t
)k
p
(pk
p
+ k
t
)
p
= p
p
k
p
+
t
k
p
pk
p
p
k
t
p
=
t
k
p
k
t
p
.
This completes the proof of the lemma.
The reader may have noticed a connection between Lemma 3.1 and Bezouts theorem [18].
Given two integers a and b, Bezouts theorem states that there exist two integers x and y such that
ax + by = gcd(a, b). When k and n are relatively prime, Lemma 3.1 states that k
p
and
p
are
the absolute value of their Bezout coefcients. It also states that the absolute value of the Bezout
coefcients of k
p
and
p
are
t
and k
t
, respectively.
Note that when n is a number such that n = 1 mod k, the tail pattern of E(k, n) is just {0}.
By convention, we will consider that {0} is the Euclidean rhythm E(0, 1). This is due to the fact
that in this particular case Bjorklunds algorithm performs only the initialization step. Otherwise,
it follows from the description of Bjorlklunds algorithm that the tail pattern consists of the rst
t
pulses of P.
Observation 3.2 Given a xed integer j 0, the rhythm
__
(i + j)n
k
_
mod n, i = 0, . . . , k 1
_
is E
CD
(k, n) starting from the onset at position j. The rhythm
_
j +
_
in
k
_
mod n, i = 0, . . . , k 1
_
is a rotation of E
CD
(k, n) to the right by j positions.
For example, let us take rhythm
E
CD
(7, 24) =
__
24i
7
_
mod 24, i = 0, . . . , 6
_
= {0, 3, 6, 10, 13, 17, 20}.
The rhythm
__
(i + 3)24
7
_
mod 24, i = 0, . . . , 6
_
is {10, 13, 17, 20, 0, 3, 6}, which is just a reordering of E
CD
(7, 24) with exactly the same onsets.
On the other hand, the formula
_
3 +
_
24i
7
_
mod 24, i = 0, . . . , 6
_
= {3, 6, 9, 13, 16, 20, 23}
produces a rhythm with onsets at different positions from those of E
CD
(7, 24). This rhythm is a
rotation of E
CD
(7, 24) by three positions to the right.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
8 F. Gmez-Martn et al.
A rhythm of the form
_
_
jn
k
_
+
_
(i + j)n
k
_
mod n, i = 0, . . . , k 1
_
is a rotation of E
CD
(k, n) generated by listing E
CD
(k, n) fromthe onset at position j. For example,
the rhythm
R =
_
_
3 24
7
_
+
_
(i + 3)24
7
_
mod 24, i = 0, . . . , 6
_
is {0, 3, 7, 10, 14, 17, 20}. By comparing the clockwise distance sequences of E
CD
(7, 24) =
(3 3 4 3 4 3 4) and R = (3 4 3 4 3 3 4), it is proven that R is E
CD
(7, 24) when listed from
the onset at position 3.
Lastly, consider the clockwise distance sequence of E
CD
(k, n), say, {d
0
, d
1
, . . . , d
k1
}.
Distances d
i
are equal to
_
n(i + 1)
k
_
_
ni
k
_
and this expression can only take values of
_
n
k
_
or
_
n
k
_
. As shown in [6], E(k, n) and E
CD
(k, n)
are the same rhythm up to a rotation. Therefore, there exists an index s such that {d
s
, d
s+1
, . . . ,
d
k1
, d
0
, d
1
, . . . , d
s1
} is the clockwise distance sequence of E(k, n). Set m =
s
i=0
d
i
. Thus,
the position of the i-th onset of E(k, n) is given by the following formula:
m +
_
n (i + s)
k
_
. (5)
For example, the clockwise distance sequence of E(7, 17) is C
1
= (3, 2, 3, 2, 3, 2, 2), while
the clockwise distance sequence of E
CD
(7, 17) is C
2
= (2, 2, 3, 2, 3, 2, 3). A rotation of C
2
to
the left by 4 transforms C
2
into C
1
. Then, s = 1 and m = 2 + 2. Therefore, the formula
4 +
_
17 (i + 2)
7
_
,
for i = 0, . . . , 6 generates the onsets of E(7, 17) = {0, 3, 5, 8, 10, 13, 15}.
We now proceed to prove the second technical lemma.
Lemma 3.3 Let E(k, n) = P
p
. . . P T be a Euclidean rhythm. Let E
(k, n) be a rotation
of E(k, n) such that E
(k, n) = P
p
. . . P
, where |P
| =
p
and |T
| =
t
. Then, P is
a rotation of P
.
Proof If there is no P
must be a subrhythm of P T . In
this case the number of subrhythms P in E(k, n) is at most two. If E(k, n) has only one pattern
P, then n 1 mod k. In this case T = {0} and P is the rhythm {1 0
n/k
. . . . . . 0}. For P
to have
p
pulses when P
is a rotation of P.
Theorem 3.4 The main pattern of rhythm E(k, n) is Euclidean up to a rotation.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
Journal of Mathematics and Music 9
Proof Consider rst the case gcd(k, n) > 1. By applying Clough and Douthetts formula (1)
and expressions (2) and (3) we can write E(k, n) as follows:
E
CD
(k, n) =
_
0,
_
n
k
_
, . . . ,
_
(k 1)n
k
__
=
_
0,
_
p
k
p
_
, . . . ,
_
(k 1)
p
k
p
__
=
_
0,
_
p
k
p
_
, . . . ,
_
(k
p
1)
p
k
p
_
,
_
p
k
p
k
p
_
,
_
p
(k
p
+ 1)
k
p
_
, . . . ,
p
k
p
+
p
(k
p
1)
k
p
_
, . . . . . . ,
_
p
k
p
(p 1)
k
p
_
,
_
p
(k
p
(p 1) + 1)
k
p
_
,
. . . ,
_
p
k
p
(p 1) +
p
(k
p
1)
k
p
__
=
_
0,
_
p
k
p
_
, . . . ,
_
(k
p
1)
p
k
p
_
,
p
,
p
+
_
p
k
p
_
, . . . ,
p
+
_
p
(k
p
1)
k
p
_
,
, . . . . . . ,
p
(p 1), . . . ,
p
(p 1) +
_
p
(k
p
1)
k
p
__
= E
CD
(k
p
,
p
) E
CD
(k
p
,
p
) . . . E
CD
(k
p
,
p
). (6)
It is clear from the above expansions that E
CD
(k, n) is the concatenation of p copies of
E
CD
(k
p
,
p
). Rhythms E
CD
(k, n) and E(k, n) are both Euclidean up to a xed rotation, and
by Lemma 3.1 this implies that P and E
CD
(k
p
,
p
) are rotations of each other. Consequently, P
is a Euclidean rhythm.
When gcd(k, n) = 1, we split the proof into two subcases depending on the value of the
expression nk
p
p
k, which by Lemma 3.1 can be equal to either +1 or 1.
Consider rst the case when nk
p
p
k = 1. We will rst show that
_
in
k
_
=
_
i
p
k
p
_
for all i = 0, 1, . . . , k 1. We have to show that:
_
in
k
_
_
i
p
k
p
_
=
_
i(
p
k + 1)
kk
p
_
_
i
p
k
p
_
=
_
i
p
k
p
+
i
kk
p
_
_
i
p
k
p
_
= 0.
The above expression is true if the inequality
i
p
k
p
+
i
kk
p
<
_
i
p
k
p
_
+ 1
holds. Let r
i
i
p
mod k
p
. Then,
i
p
k
p
+
i
kk
p
<
_
i
p
k
p
_
+ 1 = i
p
+
i
k
< k
p
_
i
p
k
p
_
+ k
p
=
i
k
< k
p
_
i
p
k
p
_
i
p
+ k
p
=
i
k
< k
p
r
i
.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
10 F. Gmez-Martn et al.
The greatest value that i/k can take is (k 1)/k, which is always less than 1; on the other hand,
the smallest value that k
p
r
i
can take is 1. Therefore, the above inequality always holds and
_
in
k
_
=
_
i
p
k
p
_
for all i = 0, 1, . . . , k 1. This in turn, together with (6), implies that E
CD
(k, n) is formed by
the concatenation of p copies of E
CD
(k
p
,
p
) followed by the concatenation of the sequence
_
p
p
+
_
i
p
k
p
_
, i = 0, 1, . . . , k
t
1
_
.
Since E(k, n) and E
CD
(k, n) differ by a rotation, by Lemma 3.3 it follows that P is a rotation of
E
CD
(k
p
,
p
).
Now suppose that nk
p
p
k = 1. For this case we will rst show that
_
i
p
k
p
_
+
_
k
t
p
k
p
_
=
_
(i + k
t
)n
k
_
for i = 0, . . . , k 1. We start by observing that the multiplicative inverse of
p
mod k
p
is exactly
k
t
. This result is deduced from the equality
t
k
p
p
k
t
= 1, which was proved in Lemma 3.1.
If we write n = (
p
k 1)/k
p
and perform some algebraic manipulations, we arrive at the
following equality:
_
(i + k
t
)n
k
_
=
_
(i + k
t
)
p
k 1
kk
p
_
=
_
i
p
k
p
i
kk
p
+
k
t
p
k
p
k
t
kk
p
_
=
_
i
p
k
p
+
k
t
p
k
p
i + k
t
kk
p
_
.
Let r
i
be the remainder of the integer division of i
p
by k
p
. Since k
t
p
= 1 mod k
p
, we can
write:
_
i
p
k
p
+
k
t
p
k
p
i + k
t
kk
p
_
=
_
i
p
k
p
_
+
_
k
t
p
k
p
_
+
_
r
i
+ 1
k
p
i + k
t
kk
p
_
.
Finally, the expression we seek to prove is reduced to the following equation:
_
(i + k
t
)n
k
_
_
i
p
k
p
_
_
k
t
p
k
p
_
=
_
r
i
+ 1
k
p
i + k
t
kk
p
_
.
Therefore, we must prove that the inequality
0
r
i
+ 1
k
p
i + k
t
kk
p
< 1
is true. By multiplying the inequality by kk
p
, we obtain
0
r
i
+ 1
k
p
i + k
t
kk
p
< 1 = 0 k(r
i
+ 1) (i + k
t
) < kk
p
.
The greatest value the expression k(r
i
+ 1) (i + k
t
) can attain is k(k
p
1 + 1) (0 +
1) = kk
p
1 < kk
p
. To show that k(r
i
+ 1) (i + k
t
) is always non-negative, we distinguish
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
Journal of Mathematics and Music 11
two cases. If k
p
divides i, then r
i
= 0 and the smallest value of our expression is k(0 + 1)
(pk
p
+ k
t
) = 0. If k
p
does not divide i, then r
i
1 and the smallest value of our expression is
k(1 + 1) (k 1 + k
t
) = k k
t
+ 1 > 0. Therefore, the above inequality is always true, and
hence
_
i
p
k
p
_
+
_
k
t
p
k
p
_
=
_
(i + k
t
)n
k
_
for i = 0, . . . , k 1. FromObservation 3.2 we knowthat
__
(i+k
t
)n
k
_
mod n, i = 0, . . . , k 1
_
is E
CD
(k, n) startingfromthe onset at positionk
t
, and
__
i
p
k
p
_
+
_
k
t
p
k
p
_
mod n, i =0, . . . , k 1
_
is a rotation of E
CD
(k, n) by
_
k
t
p
k
p
_
, which, moreover, is in the hypothesis of Lemma 3.3. Hence, P
is the Euclidean rhythmE
CD
(k
p
,
p
) up to a rotation. This completes the proof of the theorem.
It remains to prove that rhythm
_
p
p
+
_
i
p
k
p
_
, i = 0, 1, . . . , k
t
1
_
is in fact E(k
t
,
t
) up to a rotation. The next theorem settles this question.
Theorem 3.5 The tail pattern of rhythm E(k, n) is Euclidean up to a rotation.
Proof The tail pattern T has non-zero length when gcd(k, n) = 1. If n = 1 mod k, from
Bjorklunds algorithm we know that the tail is the Euclidean rhythm {0}. Assume now that n = 1
mod k. This implies that k
t
= 0.
The proof of this case is very similar to the proof of the previous theorem. We again split the
proof into two subcases based on the value of
p
k
t
t
k
p
, which by Lemma 3.1 can be either 1
or 1.
Assume rst that
p
k
t
t
k
p
= 1. We will prove that
_
i
p
k
p
_
=
_
i
t
k
t
_
,
for i = 0, . . . , k
p
1.
_
i
p
k
p
_
_
i
t
k
t
_
= 0 =
_
i(
t
k
p
+ 1)
k
t
k
p
_
_
i
t
k
t
_
= 0 =
_
i
t
k
t
+
i
k
t
k
p
_
_
i
t
k
t
_
= 0.
The above expression is true if the following inequality holds:
i
t
k
t
+
i
k
t
k
p
<
_
i
t
k
t
_
+ 1.
Substituting r
i
= i
t
mod k
t
in the above inequality, with an argument similar to the one in the
proof of Theorem 3.4, we can show that this inequality is always true and hence T is Euclidean.
We omit the details for conciseness.
For the case
p
k
t
t
k
p
= 1, we will show that
_
i
t
k
t
_
+
_
t
k
t
_
=
_
(i + )
p
k
p
_
,
for i = 0, . . . , k
p
1andfor some value . Let r
i
i
t
mod k
t
, where 0 r
i
k
t
1. As for ,
it will be chosen as the multiplicative inverse of
t
, that is, satises the equality
t
1 mod k
t
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
12 F. Gmez-Martn et al.
with 0 k
t
1. Actually, k
p
mod k
t
. This fact falls out from equality
p
k
t
t
k
p
=
1 (Lemma 3.1) when we take mod k
t
of both sides of the equation
_
(i + )
p
k
p
_
=
_
(i + )
t
k
p
1
k
t
k
p
_
=
_
i
t
k
t
i
k
t
k
p
+
t
k
t
k
t
k
p
_
=
_
i
t
k
t
+
t
k
t
i +
k
t
k
p
_
=
_
i
t
k
t
_
+
_
t
k
t
_
+
_
r
i
+ 1
k
t
i +
k
t
k
p
_
.
If the following inequality holds:
0
r
i
+ 1
k
t
i +
k
t
k
p
< 1 = 0 k
p
(r
i
+ 1) (i + ) < k
t
k
p
,
then the equality
_
i
t
k
t
_
+
_
t
k
t
_
=
_
(i + )
p
k
p
_
will also hold.
The upper bound of k
p
(r
i
+ 1) (i + ) is k
p
(k
t
1 + 1) (0 + 1) = k
p
k
t
1 < k
p
k
t
.
To show that k
p
(r
i
+ 1) (i + ) is always non-negative, we analyse two subcases. If k
t
does
not divide i, then since
t
and k
t
are relatively prime, r
i
must at least 1. Thus, the lower bound for
our expression in this case is k
p
(1 + 1) (k
p
1 + k
t
1) = k
p
k
t
+ 2 > 0. Now suppose k
t
divides i; then, r
i
= 0 and the greatest value of i that is divisible by k
t
is k
t
_
k
p
k
t
_
. Thus, the lower
bound in this case is k
p
(0 + 1)
_
k
t
_
k
p
k
t
_
+
_
= k
p
(k
p
+ ) = 0. This completes the
proof of the theorem.
If P admits a decomposition P = Q
q
. . . Q, for certain q > 1, then E(k, n) can be written
as the concatenation of a pattern Q of a smaller number of pulses. We will now show that, in
fact, P does not admit such a decomposition, and therefore is minimal. First we show that the
rhythmobtained by removing the tail of a Euclidean rhythmremains Euclidean. Note that this fact
does not follow immediately from the preceding two theorems, as the main pattern in a Euclidean
rhythm depends on its number of pulses and onsets; removing the tail changes these numbers,
and it is thus not clear what the main pattern in a Euclidean rhythm with fewer pulses looks like.
Theorem 3.6 Let k and n be two integers with gcd(k, n) = 1. If E(k, n) = P
p
. . . P T
is the decomposition given by Bjorklunds algorithm, then rhythm P
p
. . . P is a rotation of
E(k
p
p,
p
p).
Proof It is sufcient toprove the result for the CloughDouthett representationE
CD
(k
p
,
p
) of P.
By concatenating p copies of E
CD
(k
p
,
p
) we obtain
E
CD
(k
p
,
p
)
p
. . . E
CD
(k
p
,
p
)
=
_
0,
_
p
k
p
_
, . . . ,
_
(k
p
1)
p
k
p
_
,
p
,
p
+
_
p
k
p
_
, . . . ,
p
+
_
(k
p
1)
p
k
p
_
, . . . ,
p
(p 1),
p
(p 1) +
_
p
k
p
_
, . . . ,
p
(p 1) +
_
(k
p
1)
p
k
p
__
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
Journal of Mathematics and Music 13
=
_
0,
_
p
p
pk
p
_
, . . . ,
_
(k
p
1)p
p
pk
p
_
,
p
,
p
+
_
p
p
pk
p
_
, . . . ,
p
+
_
(k
p
1)p
p
pk
p
_
, . . . ,
p
(p 1),
p
(p 1) +
_
p
p
pk
p
_
, . . . ,
p
(p 1) +
_
(k
p
1)p
p
pk
p
__
=
_
0,
_
p
p
pk
p
_
, . . . ,
_
(k
p
1)p
p
pk
p
_
,
_
p
pk
p
pk
p
_
,
_
p
pk
p
pk
p
+
p
p
pk
p
_
, . . . ,
_
p
pk
p
pk
p
+
(k
p
1)p
p
pk
p
_
, . . . ,
_
pk
p
p
(p 1)
pk
p
_
,
_
pk
p
p
(p 1)
pk
p
+
p
p
pk
p
_
, . . . ,
_
pk
p
p
(p 1)
pk
p
+
(k
p
1)p
p
pk
p
__
=
_
0,
_
p
p
pk
p
_
, . . . ,
_
(k
p
1)p
p
pk
p
_
,
_
p
pk
p
pk
p
_
, . . . ,
_
(pk
p
1)p
p
pk
p
__
=E
CD
(pk
p
, p
p
).
Therefore, the concatenation of p copies of the main pattern P is a rotation of E(k
p
p,
p
p).
Theorem 3.7 The main pattern P of E(k, n) is minimal.
Proof Assume rst that gcd(k, n) = d > 1. If Q is a pattern such that P = Q
q
. . . Q, for
some q 1, then the number qp must divide both n and k. Since in this case p = d, it follows
that q = 1, and therefore, P = Q.
Assume now that gcd(k, n) = 1. By Theorem 3.6, removing the tail pattern of E(k, n) will
give us the rhythm E(k
p
p,
p
p) up to a rotation. By the previous case, the main pattern P of
E(k
p
p,
p
p) cannot be written as the concatenation of copies of a shorter pattern Q. Thus, the
main pattern of E(k, n) is minimal.
4. Concluding remarks
In this paper we have studied the structure of Euclidean rhythms. We started by showing the
connection between Euclids and Bjorklunds algorithms. Some algorithms generating Euclidean
rhythms are based on the idea of distributing the pulses from the beginning. This is the idea
behind both the CloughDouthett formula: {
_
ni
k
_
, i = 0, 1, . . . , k 1}, and the snap algorithm
described in [6]. On the other hand, Bjorklunds algorithm is a more constructive algorithm, and
is based on grouping the onsets as the rhythm is built. We have shown a clear connection between
Euclids algorithmand the generation of Euclidean rhythms through Bjorklunds algorithm. Next,
we showed that the output of Bjorklunds algorithm is the concatenation of several copies of a
main pattern plus possibly a tail pattern, both of which were shown to be Euclidean.
During the course of the proofs, a connection between Euclidean rhythms and Bezouts theorem
was revealed; when k and n are relatively prime, k
p
, the number of onsets of P, and
p
, the number
of pulses of P, are exactly the absolute values of the Bezout coefcients of k and n.
We proved that a Euclidean rhythm with k onsets and n pulses can be decomposed as
E(k, n) = P
p
. . . P T , where T is empty when gcd(k, n) > 1. Furthermore, we proved
that P and T are Euclidean themselves, which shows the recursive nature of Euclidean rhythms.
This decomposition is minimal, that is, E(k, n) does not admit a decomposition where the main
pattern has fewer pulses.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0
14 F. Gmez-Martn et al.
Acknowledgements
Francisco Gmez would like to thank Lola lvarez and Jesus Garca for fruitful discussions. Perouz Taslakian would like
to thank Victor Campos for the fun and exciting conversations on the topic of this paper.
References
[1] J. Clough and G. Myerson, Variety and multiplicity in diatonic systems, J. Music Theory 29 (1985), pp. 249270.
[2] J. Clough and J. Douthett, Maximally even sets, J. Music Theory 35 (1991), pp. 93173.
[3] N. Carey and D. Clampitt, Self-similar pitch structures, their duals, and rhythmic analogues, Perspect. New Music
34 (1996), pp. 6287.
[4] D. Lewin, Cohn functions, J. Music Theory 40 (1996), pp. 181216.
[5] J. Ellis, F. Ruskey, J. Sawada, and J. Simpson, Euclidean strings, Theoret. Comput. Sci. 301 (2003), pp. 321340.
[6] E.D. Demaine, F. Gomez-Martin, H. Meijer, D. Rappaport, P. Taslakian, G.T. Toussaint, T. Winograd, and
D.R. Wood, The distance geometry of music, Comput. Geometry: Th. &Appl. 42(5) (2009), pp. 429454.
[7] E. Bjorklund, The theory of rep-rate pattern generation in the SNS timing system, SNS ASD Technical Note SNS-
NOTE-CNTRL-99, Los Alamos National Laboratory, Los Alamos, NM, USA, 2003.
[8] R. Klette and A. Rosenfeld, Digital straightness a review, Discr. Appl. Math. 139 (2004), pp. 197230.
[9] M.A. Harris and E.M. Reingold, Line drawing, leap years, and Euclid, ACM Comp. Surv. 36 (2004), pp. 6880.
[10] J.E. Bresenham, Algorithm for computer control of digital plotter, IBM Syst. J. 4 (1965), pp. 2530.
[11] A.M. Bruckstein, Self-similarity properties of digital straight lines, inVisionGeometry, R.A. Melter andA. Rosenfeld,
eds., American Mathematical Society, Providence, RI, 1991, pp. 120.
[12] R.L. Graham, S. Lin, and C.S. Lin, Spectra of numbers, Math. Mag. 51 (1978), pp. 174176.
[13] M. Lothaire, Algebraic Combinatorics on Words, Cambridge University Press, Cambridge, UK, 2002.
[14] W.F. Lunnon and P.A.B. Pleasants, Characterization of two-distance sequences, J. Australian Math. Soc. A53 (1992),
pp. 198218.
[15] N.G. de Bruijn, Sequences of zeros and ones generated by special production rules, Indagationes Mathematicae 43
(1981), pp. 2737.
[16] N.G. de Bruijn, Updown generation of Beatty sequences, Indagationes Mathematicae 51 (1989), pp. 385407.
[17] C. Series, The geometry of Markoff numbers, Math. Intelligencer 7 (1985), pp. 2029.
[18] T.H. Cormen, C.E. Leiserson, R.L. Rivest, and C. Stein, Introduction to Algorithms, 2nd ed., MIT Press, Boston,
MA, 2001.
D
o
w
n
l
o
a
d
e
d
B
y
:
[
M
o
s
s
,
F
a
b
i
a
n
]
A
t
:
1
1
:
0
5
7
J
a
n
u
a
r
y
2
0
1
0