60,788
Views
0
CrossRef citations to date
0
Altmetric
Research Article

The 2 x n seating derangements

& ORCID Icon | (Reviewing editor)
Article: 1492887 | Received 17 Apr 2018, Accepted 11 Jun 2018, Published online: 29 Jul 2018

Abstract

In this paper, we study the derangement of 2n persons sitting 2 rows and n columns. In how many ways can the 2n persons rearrange their seating in accordance with the following condition. Each seat is located by one person and reoccupied by another person and each person moves to a horizontal or a vertical or a diagonal neighboring seat. We establish the system of recurrence relations for the solution of this problem and provide the solution of the system of recurrence relations.

AMS Mathematics subject classifications:

PUBLIC INTEREST STATEMENT

A 2 x n seating derangement is any movement of persons among the 2n seats, arranged in 2 rows and n columns, so that each seat is located by one person and reoccupied by another person and each person moves to a horizontal or a vertical or a diagonal neighboring seat. How many ways can the directive in a 2 x n seating derangement be carried out? What is the number of ways that this can be done? The objective of this paper is to solve a 2 x n seating derangement. The system of recurrence relations for the solution of this problem is established and the solution of the system of recurrence relations is obtained.

1. Introduction

Kennedy and Cooper (Citation1993) are interested in the following problem.

“A m×n classroom has m rows of n desks per row. The teacher requests each pupil to change his seat by going either to the seat in front, the one behind, the one to his left, on to the one on his right (of course not all these options are possible for all students). How many ways can this direcitve be carried out?” (p. 60)

The answer to the 2×n classroom is Fn+12, where Fn is the nth Fibonacci number (Honsberger, Citation1997; Kennedy & Cooper, Citation1993; Otake, Kennedy, & Cooper, Citation1996). The following problem, which were raised in Kennedy and Cooper (Citation1993) and still remain open, as follows:

“A 2×n classroom has 2 rows of n desks per row. The teacher requests each pupil to change his seat by going either to the seat in front or behind, the one to the left or the right, or to one of the diagonal seats (of course, not all these options are possible for all students). How may ways can this directive be carried out?”

The purpose of this paper is to study derangement for the 2×n classroom problem. We can restate the 2×n classroom problem as follows: Consider 2n person seated at the 2 rows of n seats per row; in how many ways, the 2n person can be derangement such that each seat can located by one person and reoccupied by another person and each person moves to a horizontal or a vertical or a diagonal neighboring seat.

2. Main results

For any positive integer n, suppose that 2n persons are seated at the 2 rows of n seats per row.

Definition 1. Let n be a positive integer.

A 2×n seating derangement is any movement of person among the 2n seats, arranged in 2 rows and n columns, so that each seat is located by one person and reoccupied by another person and each person moves to a horizontal or a vertical or a diagonal neighboring seat.

For example, the figure of 2×4 seating derangement and 2×5 seating derangement are shown in Figure (a) and (b), respectively.

Figure 1. 2×4 and 2×5 seating derangements.

Figure 1. 2×4 and 2×5 seating derangements.

In Figure , Ↄ denotes a seat and denotes the movement of a person from one seat to another.

Next, we are interested in the problem of a 2×n seating derangement, in how many ways the seats can be derangement? What is the number of ways that this can be done?

We may find that it is not easy to get a direct answer to the problem. Let us consider some special cases. When n=1, it is clear that there is one and only one way to interchange the two seats in a 2×1 seating derangement as shown in Figure .

Figure 2. 2×1 seating derangement.

Figure 2. 2×1 seating derangement.

When n=2, there are exactly 9 ways to rearrange the 4 seats in a 2×2 seating derangement as shown in Figure .

Figure 3. 2×2 seating derangement.

Figure 3. 2×2 seating derangement.

When n=3, there are 33 different ways to rearrange the 6 seats on a 2×3 seating derangement as shown in Figure .

Figure 4. 2×3 seating derangement.

Figure 4. 2×3 seating derangement.

We observed that each figure in the 2×3 seating derangement(Figure ) are ended by 2×1 and the 2×2 seating derangements. These exhibit endings that may be classified into 13 types, call type A, type B, type C, type D, type E, type F, type G, type H, type I, type J, type K, type L, type M as shown in Figure .

Figure 5. Type A, type B, ..., type M.

Figure 5. Type A, type B, ..., type M.

Type B may be further subdivided into five kinds shown in Figure ; similarly for type C, type D and type E.

Figure 6. Type B.

Figure 6. Type B.

There are 4 kinds of type F shown in the Figure , similarly for type G, type H and type I. It is easy to see that there is only one kind of type A,J,K, and L.

Figure 7. Type F.

Figure 7. Type F.

For convenience, let Tn be the set of all 2×n seating derangements and tn denote the number of the set Tn. As shown before, we have

t1=1,t2=9,t3=33.

Next, we will find tn,n3.

The set Tn may be partitioned into 13 subsets An,Bn,Cn,Dn,En,Fn,Gn,Hn,In,Jn,Kn,Ln and Mn according to the 41 endings (Figure –1).

Figure 8. An.

Figure 8. An.

Figure 9. Bn,Cn,Dn,En.

Figure 9. Bn,Cn,Dn,En.

Figure 10. Fn,Gn,Hn,In.

Figure 10. Fn,Gn,Hn,In.

Figure 11. Jn,Kn,Ln,Mn.

Figure 11. Jn,Kn,Ln,Mn.

Let an,bn,cn,dn,en,fn,gn,hn,in,jn,kn,ln and mn be the cardinalities of An,Bn,Cn,Dn,En,Fn, Gn,Hn,In,Jn,Kn,Ln and Mn, respectively.

Then, the number of the 2×n seating derangement is

tn=an+bn+cn+dn+en+fn+gn+hn+in+jn+kn+ln+mn.

Theorem 2. The number of the 2×n seating derangement is

tn=wn+4xn+4yn+4zn,

where wn,xn,yn,zn satisfy the recurrence matrix

1444122002201000wnxnynzn=wn+1xn+1yn+1zn+1,

and w1=1,x1=y1=z1=0.

Proof. It is clear that any member of Tn becomes a member of An+1 when an extra column (Figure ) is attached to the end, and conversely. Then,

an+1=an+bn+cn+dn+en+fn+gn+hn+in+jn+kn+ln+mn.

Next, there is a 1–1 correspondences between AnBnDnFnHn and Bn+1, shown in Figure . Then,

bn+1=an+bn+dn+fn+hn.

Figure 12. 1–1 correspondence between AnBnDnFnHn and Bn+1.

Figure 12. 1–1 correspondence between An∪Bn∪Dn∪Fn∪Hn and Bn+1.
Similar correspondences, we have
cn+1=an+cn+en+gn+in,
dn+1=an+cn+en+gn+in,
en+1=an+bn+dn+fn+hn,
fn+1=bn+cn+fn+hn,
gn+1=bn+cn+gn+in,
hn+1=bn+cn+fn+hn,and
in+1=bn+cn+gn+in.

Since An is a one-to-one correspondence to Jn+1, we have

jn+1=an.

Similarly, we have

kn+1=ln+1=mn+1=an.

From the 2×1 seating derangement, we obtain that a1=1, and b1=c1=d1=e1=f1=g1=h1=i1=j1=k1=l1=m1=0.

For n1, we derive an+1,bn+1,cn+1,dn+1,en+1,fn+1,gn+1,hn+1,in+1,jn+1,kn+1, ln+1, and mn+1 form the following recurrence relation.

an+1=an+bn+cn+dn+en+fn+gn+hn+in+jn+kn+ln+mn,
bn+1=an+bn+dn+fn+hn,
cn+1=an+cn+en+gn+in,
dn+1=an+cn+en+gn+in,
en+1=an+bn+dn+fn+hn,
fn+1=bn+cn+fn+hn,
gn+1=bn+cn+gn+in,
hn+1=bn+cn+fn+hn,
in+1=bn+cn+gn+in,
jn+1=an,
kn+1=an,
ln+1=an,and
mn+1=an.

We notice that

bn+1=en+1,
cn+1=dn+1,
fn+1=hn+1,
gn+1=in+1,and
jn+1=kn+1=ln+1=mn+1.

bn+1=en+1,cn+1=dn+1,fn+1=hn+1,gn+1=in+1 and jn+1=kn+1=ln+1=mn+1. It follows that

an+1=an+2bn+2cn+2fn+2gn+4jn.

Since fn+1gn+1=2(fngn) and f1=0=g1, we have fn+1=gn+1 and bn+1=cn+1.

Set wn=an,xn=bn,yn=fn, and zn=jn. Therefore, the number of the 2×n seating derangement is

tn=wn+4xn+4yn+4zn

where

wn+1=wn+4xn+4yn+4zn,
xn+1=wn+2xn+2yn,
yn+1=2xn+2yn,and
zn+1=wn,

and w1=1,x1=y1=z1=0.

These results are summarized in the matrix equation:

1444122002201000wnxnynzn=wn+1xn+1yn+1zn+1,

where

w1x1y1z1=1000.

The following table shows the values of wn,xn,yn,zn, and tn in Theorem 2. when n=1,2,,10.

Theorem 3. Let n be a positive integer.

The number of the 2×n seating derangement is

tn=12α2Aαn+2+12β2Bβn+2+12γ2Cγn+2,

where

A=2α(αβ)(αγ),B=2β(βα)(βγ),C=2γ(γα)(γβ),

and

α=53+2373cos13arccos13737,
β=53+373cos13arccos13737+3sinarccos13737,
γ=53373cos13arccos13737+3sinarccos13737.

Proof. By Theorem 2, the number of the 2×n seating derangement is

(1) tn=wn+4xn+4yn+4zn

where

(*) wn+1=wn+4xn+4yn+4zn,xn+1=wn+2xn+2yn,yn+1=2xn+2yn,andzn+1=wn.

for positive integer n and w1=1,x1=y1=z1=0.

The system of equations in (*) are reduced to a single equation:

(2) yn+35yn+24yn+1+16yn=0.

The characteristic equation is t35t24t+16=0.

The zeros of this polynomial are

α=53+2373cos13arccos13737,
β=53+373cos13arccos13737+3sinarccos13737,
γ=53373cos13arccos13737+3sinarccos13737.

The general solution of Equation (2) is

(3) yn=Aαn+Bβn+Cγn,

and using the initial conditions, y1=y2=0 and y3=2, we obtain

A=2α(αβ)(αγ),
B=2β(βα)(βγ),
C=2γ(γα)(γβ).

We substitute Equation (3) into wn=12yn+22yn+1, which yields

wn=12α2Aαn+1+12β2Bβn+1+12γ2Cγn+1.

Since tn=wn+1 (by Theorem 2), we have

tn=12α2Aαn+2+12β2Bβn+2+12γ2Cγn+2.

This completes the proof.

Additional information

Funding

The authors received no direct funding for this research.

Notes on contributors

Monrudee Sirivoravit

Monrudee Sirivoravit is a lecturer in the Department of Mathematics at Kasetsart University. She obtained her M.Sc. degree in Mathematics from Chulalongkorn University, Thailand, in 2004. Her research interests are Algebra, Number Theory and Combinatorics.

Utsanee Leerawat

Utsanee Leerawat is an associate professor in the Department of Mathematics at Kasetsart University. She received her Ph.D. degree in Mathematics in 1994 at Chulalongkorn University, Thailand. Her research interests are Ring Theory (derivations, commutativity conditions in rings), Universal algebra and Combinatorics.

References

  • Honsberger, R. (1997). In Polya’s footsteps: Miscellaneous problems and essays, Dolciani mathematical exposition number 19. MAA, New york, USA.
  • Kennedy, R. E., & Cooper, C. (1993). Variation on a five - by - five seating rearrangement problem (pp. 59–67). Mathematics in College. Fall-Winter, New York.
  • Otake, T., Kennedy, R. E., & Cooper, C. (1996). On a seating rearrangement problem. Mathematics and informatics quarterly, 52, 63–71.