A group of $n$ people organizes recurring parties, $n-1$ events in total. At each event, each person offers a present to one other person, and each person receives a present ($n$ presents exchanged in total per event). Is it possible to organize the parties so that
- each person has given a present to each other person after $n-1$ parties,
- each person has received a present from each other person after $n-1$ parties,
- at each party, the "gives a present" relation forms a single cycle (i.e., the group cannot be subdivided in subgroups so that no presents are exchanged between persons in different subgroups)?
To me, it looks as if this is possible if and only if $n$ is prime, but a proof remains elusive to me. Is this a well-known problem? What would be a good formulation of the problem that allows for an elegant proof?
Pieter21 mentioned Graeco-Latin squares: for given $n$ we search for a Graeco-Latin square with w.l.o.g. the first column equal to $A\alpha, B\beta, C\gamma, \ldots$ and the other columns such that each forms a cycle, e.g., $A\beta \rightarrow B\gamma \rightarrow C\delta \rightarrow D\alpha \rightarrow A\beta$ is a cycle for $n=4$.
This is from a real-life setting where $n$ happens to be $6$ (a solution can be ruled out due to the nonexistence of such a Graeco-Latin square). Please feel free to re-tag as appropriate.