Wikipedia:Reference desk/Archives/Mathematics/2023 February 19

Mathematics desk
< February 18 << Jan | February | Mar >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


February 19

edit

permutations (table seating)

edit

Hi,

I am looking for the name of the branch of mathematics that will allow me to solve the following "problem."

I want the guests at my dinner party to all have a chance to meet each other. There are g guests sitting at t tables eating c courses. After each course, some will switch to a different table. I want to do this in a way that the maximum number of people will get to meet each other in small groups. More precisely, for given g, t and c I want the permutations that leave the fewest pairs of guests NOT having spoken to each other.

I have some grounding in mathematics, but in a rather applied approach - during my physics education. There is probably a whole field of study devoted to this sort of thing and it would help me a lot to know the name, so that I can tune my Google search a bit better.

Thanks,

GilHamiltonTheArm (talk) 17:05, 19 February 2023 (UTC)[reply]

The general topic is combinatorics. AndrewWTaylor (talk) 19:47, 19 February 2023 (UTC)[reply]
In statistics when testing out for instance different plants against different treatmnts this sort of thing happens in block design. Steiner system is possibly more what you want and Kirkman's schoolgirl problem is a simple variant which forms a nice puzzle. NadVolum (talk) 20:28, 19 February 2023 (UTC)[reply]
GilHamiltonTheArm: There are   pairs of guests. Each guest will meet the   other guests at their table for each course. So based on first glance the fewest pairs of guests   that have not met each other would be something like  . Note that if   is high enough such that each guest really does have the opportunity to meet every other guest, then many pairings of guests would meet again, and   would be larger than the other side of the inequality. Sungodtemple (talkcontribs) 20:55, 19 February 2023 (UTC)[reply]
With four guests (Alice, Bob, Charlie, Debbie), and two tables, each seating two guests, each of the six pairs can meet in three rounds: (1) Alice+Bob, Charlie+Debbie; (2) Alice+Charlie, Bob+Debbie; (3) Alice+Debbie, Bob+Charlie. Using   we should find   but the above formula results in
 
 --Lambiam 14:05, 20 February 2023 (UTC)[reply]
A parameter missing from the question is the seating capacity of the tables. (If there is no capacity constraint, just seat all guests at the same table.) Do the tables all have the same capacity? Also, is this question out of theoretical interest, or do you need these permutations with an eye to actual application? (In the latter case a near-optimal solution is better than none.)  --Lambiam 09:58, 20 February 2023 (UTC)[reply]
Since, for the purpose of getting pairs of guests sitting at the same table, neither the identity of the tables matters, nor the arrangement around a given table, the seating at each course corresponds to a partition of the set of guests, constrained by the number of tables and their seating capacities. The term partition may be helpful in refining the search. If similar problems have been studied, it is more likely to have been the problem of determining the least number of partitions such that all pairs co-occur at least once in a cell of one of the partitions.  --Lambiam 14:44, 20 February 2023 (UTC)[reply]
Considering the problem of finding the smallest set of partitions such that all guests will meet, and restricting one's attention to the situation that the number of guests is an integral multiple of the seating capacity of the tables, one can look at two special cases:
  1. The tables all seat two guests. I found   One might be tempted to guess that in general  
  2. There are just two tables. For this case I found   This surprised me. I had expected   to increase with  
 --Lambiam 22:10, 20 February 2023 (UTC)[reply]
I would not be surprised to learn that graph theory has terminology applicable to exactly this problem. —Tamfang (talk) 04:58, 22 February 2023 (UTC)[reply]
This is the closest I can come. Assuming   is an integral multiple of   and denoting each table's seating capacity by   a seating is a vertex cover of the complete graph   by the disjoint union of   cliques, each being a copy of   The union of how many seatings fully covers   including the edges?  --Lambiam 07:57, 22 February 2023 (UTC)[reply]