Question:
Let $S=\{1,2,3,...,n\}$ where n is an odd integer. Let $f$ be a function defined on $\{(i,j):i,j\in S\}$ with properties such that:
a) $f(s,r)=f(r,s)$
b) $\{f(r,s):s\in S\}=S \space\forall\space r\in S$
Prove $\{f(r,r):r\in S\}=S$
I have concluded that we can make a table just like a Sudoku that is symmetric across the diagonal. Each row and column would hold each element in S exactly once. I feel like the fact that n is odd is important but I'm not able to bring it in play. Basically we need to show the diagonal has no repetition of elements
Any help will be appreciated
Let $\mathbf Q = \langle Q,\cdot \rangle$ be a finite commutative quasi-group.
Define $\Delta(x)$ to be the number of times the element $x$ appears in the diagonal of the multiplication table. Since $\mathbf Q$ is commutative, each element appears an even number of times out of the diagonal, and each element appears exactly $|Q|$ times (because each element occurs once in each row).
It follows that $|Q|-\Delta(x)$ is even.
Since your set $S$ has an odd number of elements, the mapping $f:S^2\to S$ gives the product of an odd number commutative quasi-group, and so $x \mapsto x \cdot x$ is bijective in that quasi-group.
It follows that $\{f(r,r):r \in S\} = S$.
The question on the title is also addressed immediately by $x\mapsto x\cdot x$ (that is $x \mapsto f(x,x)$) being bijective.