TITLE: Arranging all permutations on $\{1,\ldots,n\}$ such that there are no common points
QUESTION [8 upvotes]: If $n>0$ is an integer, let $[n]=\{1,\ldots,n\}$. Let $S_n$ denote the set of all permutations (bijections) $\pi:[n]\to[n]$.
For which positive integers $n$ is there a bijection $\Phi:[n!]\to S_n$ such that for all $x\in[n!-1]$ we have
$ (\Phi(x))(k) \neq (\Phi(x+1))(k) \text{ for all }k\in [n]$?

Note. This can be formulated in the language of Hamiltonian paths: Put a graph structure on $S_n$ saying that $\pi_1,\pi_2\in S_n$ form an edge if $\pi_1(k)\neq \pi_2(k)$ for all $k\in[n]$, and find a Hamiltonian path in this graph.

REPLY [11 votes]: it is still of interest to me, I would be glad to hear about it!
OK, sorry for the delay. This elementary argument is, probably, well-known but I was too lazy to make a thorough search, so if somebody has a reference to something similar, it will be appreciated.
Consider all cyclic shifts of a permutation $\pi$. Note that any two of them can be placed next to each other, so we can try to make them single blocks. Let's denote the corresponding blocks by $C$ (there are $(n-1)!$ of them). Now two blocks $C'$ and $C''$ are possible to place next to each other if the corresponding permutations $\pi'$ and $\pi''$ have the property that some cyclic shift of $\pi''$ has no common elements with $\pi'$. When we try to consider all cyclic shifts of $\pi''$, each element of $\pi'$ has only one chance to coincide with the element of the shift of $\pi''$ in the same position, so we have total of $n$ coincidences. If some shift of $\pi''$ has 2 or more common elements with $\pi'$, then there is another shift with no common elements. Now, shift both $\pi'$ and $\pi''$ so that $1$ is in the same position. If no other elements coincide, we have a derangement of length $n-1$. Thus, only about $(n-1)!/e$ blocks are incompatible with a given block, so we can make a Hamiltonian cycle of blocks such that every 2 adjacent blocks are compatible (with accurate count, it works for $n\ge 4$). It remains to place permutations without common elements at the junction points. Note that once we have $\pi'\in C'$ and $\pi''\in C''$ without common elements, any simultaneous cyclic shift of those will give you another pair without common elements. Thus we have $\ge n$ pairs that we can place at any particular junction. Just place them one by one in any order and notice that when you do any junction, you can have at most 2 conflicts with 2 adjacent junctions, so if $n\ge 3$, the Hamiltonian cycle of blocks can be upgraded to a Hamiltonian cycle of permutations.