Professional Documents
Culture Documents
1. Introduction
M(Sl ..... Sk) = Z Z (-- l ) J + l M ( S l , ' " ' s i - l ' si--J' si+! ..... st)' (1.1)
i=1 j=l
where M(s~ ..... s~_l, O, si+~, ..., sk)=M(st, ..., s,_~, s,+~, ..., Sk) is proved in [2] and
[3]. The latter also mentions the circular version of the problem.
Here we derive recurrences satisfied by and an explicit expression for M ( s t ..... Sk).
We also give a combinatorial argument in order to derive a simple explicit expression
for M(s, s, s). Finally, we give a solution for the circular version of the problem.
We begin by considering the case o f three classes of elements, say l's, 2's and 3's,
and an equal number of elements in each class. The sequences made up of these objects
can be divided into those which start and end with a 1 and those which start but do
not end with a 1. If there are A (s) of the first kind and B(s) of the second kind, then
it is immediate that
M(s, s, s) = 3A (s) + 3B(s). (2.1)
Hence it will suffice to determine A (s) and B(s). Notice that ifc~ denotes a sequence
counted by A (s), then c consists of s - l non-void blocks of 2's and 3's with each
block preceded and followed by a 1. If t denotes the number of these blocks which
contain an odd number of elements, then it follows that t is even, say t = 2v. Thus there
are arrangements for the odd blocks. Fix such an arrangement and note that,
since the number of 2's and 3's being distributed are equal, exactly v of the odd blocks
begin with a 2 and exactly v begin with a 3. Choose the v odd blocks which are to
begin with a 2 and place a 3 as the beginning element in the v remaining odd blocks.
This choice can be made in (2v) ways.
In order to construct all of the sequences counted by A (s), it is now only necessary
to place 2,3 or 3,2 doubletons in the s - 1 blocks between consecutive l's with the
condition that the s - 1 - 2 v even blocks must contain at least one doubleton. If we
begin by making 2 s- ~-2v choices for assigning one doubleton to each even block, then
it remains only to assign the s-(v+s-1-2v)=v+ 1 remaining doubletons to the
s - 1 partially constructed blocks. There are [4, p. 92]
v=O
The first term in the right member of (3.2) counts those sequences in which the r objects
of the first class are considered distinct, but identifies those sequences which only differ
by permutations of these r objects. In order to construct the sequences counted by
M ( r , s 1..... Sk), it is necessary to delete those sequences in which one or more of the
r objects of the first class are adjacent. To do this, we first choose j on the range
1 <<,j<~r- 1 and form the M ( j , sl, ..., Sk) sequences in which the objects of the first
class are thought of as 'blanks'. We then wish to assign the r objects of the first class
to these j blanks in such a way that each blank is assigned at least one object. Since
these assignments are in one to one correspondence with the number of compositions
C')
o f r i n t o j non zero parts [4; p. 92], they are j _ 1 in number. It is easy to verify that
each sequence in which objects from the first class are adjacent is obtained exactly
one time in this manner. Summing over j, we obtain the second term in the right
member of (3.2).
It follows from (3.1) and binomial inversion that
obtained by inserting x on either side of the s - 1 objects of the first class in each of the
sequences counted by M, ( s - 1, s 2.... , Sk). If 1 is an object of the first class, then the
second type of sequence to be deleted is obtained by inserting the pair x, 1 immediately
after each occurrence of 1 in each of the sequences counted by Mr ( s - 2, s2 .... , Sk).
This evidently completes the proof of (3.4).
Using (3.4) and induction on s, we find that we can write
s--1
M~(s, s2 ..... sk) = E ( - 1)J'aJ(s) M,+~-i(s2 ..... sk). (3.5)
j=O
s~j(s)=~j(s-1)+2(s-1)~j_l(s-1)-(s-2)~j_2(s-2 ). (3.6)
In order to solve this recurrence, we write/3j (s)= s0q_j (s)(1 ~<j~<s) and note that
(3.6) can be rewritten as
Substracting/~j ( s - 1) from both sides of this equation and adding over s, we obtain
/3i ( n ) = ~ a ~ _ j ( s - 1 ) + f l j ( n - 1 ) .
s=j
j .
1
M,(s, s2 ..... sk) = ,-, ( - 1 ) ~ - / j i M,+,(s2 ..... sk). (3.8)
j=l
Notice that (3.8) is valid for r = 0 since, in this case, it reduces to (3.3).
It is easy to verify that
M,(s) = ( r + l ) r !. (3.9)
S
260 L . Q . Eifler, K . B . R e i d , Jr. a n d D . P. R o s e l l e AEQ. MATH.
17
,=1 ! J* -- sk
In addition to (3.4), two other recurrences have been useful for computing
Mr (sl, ..., sk). The first is
k
+ X ( s , - 1 ) Mr_~(s~ ..... s , _ ~ , , ~ - 1,~,+, ..... s~).
i=1
The p r o o f of this recurrence is similar to that given for (3.4). The second recurrence
follows by combining this latest recurrence with (4.3). It is
4. N e c k l a c e s
Recalling the notation of 2, we let B (n) denote the number of sequences of length
3n which consist of n objects from each of three classes, in which objects from the
same class are not adjacent, and which begin with an object from the first class and
end with an object from a different class. With each necklace, we associate a unique
minimum period d and note that d has the properties that d ] 3n and 3 [ d. Since each
necklace of period d corresponds to d different linear sequences, we find that if P (d)
denotes the number of necklaces of length d and period d, then
E dP(d)=3BO)
dl 3n
31a
or, if we prefer,
3B(n) = Y, 3se(3s).
5s=n
This is the same as
B(n) = Z sP(3s) (4.1)
s]n
5. Computation
The following table gives A (s), B(s), M(s), P(3s), and N(s) for I ~<s~< 10.
Table
s A(s) B(s) M(s) P(3s) N(s)
1 0 2 6 2 2
2 2 8 30 3 5
3 14 44 174 14 16
4 96 268 1092 65 70
5 664 1732 7188 346 348
6 4660 11624 48852 1929 1948
7 33144 80096 339720 11442 11444
8 238448 562748 2403588 70310 70380
9 1732112 4013396 17236524 445928 445944
10 12685428 28964128 124948668 2896239 2897981
262 L.Q. Eifler, K.B. Reid, Jr. and D. P. Roselle
REFERENCES
[1] ALTER,R. and LiErrrz, B. P., Applications ofa Generalized Problem of Smirnov, Naval Res. Logist.
Quart. 16, 543-547 (1969).
[2] ALTER,R. and LIENTZ,B. P., A Generalization of a Combinatorial Problem of Smirnov, System
Development Corporation Document, SP 3254.
[3] ALTER,R. andLmNTZ, B. P., OnaGeneralizedProblemofSmirnov, (to appear).
[4] PdORDAN,J., An lntroductfon to Combinatorial Analysis (John Wiley & Sons, New York, N.Y. ;
Chapman & Hall, London [Wiley Publ. in Math. Statistics]).
[5] SARMANOV,O.B. and ZAHAROV,V. K., A Combinatorial Problem of N. 11". Smirnov (Russian),
Dokl. Akad. Nauk SSSR 176, 530-532 (1967) [English Translation: Soviet Math. Dokl. 8,
1147-1150 (1967)].
[6] Sr~m~Nov,N. V., S~MANOV, O. V., and ZA~AROV,V. K., A Local Limit Theorem for the Number
of Transitions in a Markov Chain and Its Applications (Russian), Do/~!. Akad. Nauk. SSSR 167,
1238-1241 (1966) [English Translation: Soviet Math. Dokl. 7, 563-566].