we named a $n*n$ table $selfish$ if we number the row and column with $0,1,2,3,...,n-1$.(from left to right an from up to down) for every {$ i,j\in{0,1,2,...,n-1}$} the number of cell $(i,j)$ is equal to the number of number $i$ in the row $j$. for example we have such table for $n=5$ 1 0 3 3 4 1 3 2 1 1 0 1 0 1 0 2 1 0 0 0 1 0 0 0 0 prove that for $n>5$ there is no $selfish$ table
Problem
Source: iran tst 2014 first exam
Tags: LaTeX, combinatorics unsolved, combinatorics
15.04.2014 20:03
it is my friend ideas
19.04.2014 17:52
first prove that each no has to appear in the table. else there would be a row of n 0's which is not possible. let x_i be the no of times i appears i=0(1)n-1 hence sum (x_i) = n^2 (sum of each column is n as is evident) i=0(1)n-1 also sum (ix_i) = n^2 from here x_0 = sum ((i-1)x_i) i=2(1)n-1 now x_i>=1 for all i also for all j there exists an x_i such that x_i>=j note that if x_i.= 2 for each i>= 2 then x_0 >= n^2 -2n +3 for n>5 (note that there must exist one row where 0 does not occur) hence there exists a row of n zeroes thats a contra! if x_i =1 for some i>=2 then let A be the no of those i's such that x_i=1 (i>=2) then prove that no of n-1 is at least A hence sum ((i-1)x_i) i=2(1)n-1 increases further and clearly thats inadmissible sorry i dont know latex
21.04.2014 21:01
we solved it in mr.saqafians class!last week!
27.02.2018 07:14
No ideas for this problems?
06.07.2018 17:03
Bumping this Full solutions plz !
27.07.2018 15:58
I think the original problem asked to find all such $n\times n$ tables. Anyway, here's the official solution up to the conclusion that $n\leqslant 5$: Step 1: $a_{0,0}>0$.
Step 2: For each $0\leqslant i\leqslant n-1$, $c_i\leqslant n$.
Corollary 1: Let $S$ be the sum of the entries of the table. We have $S\leqslant n^2$. Step 3: There is no $0\leqslant i,j\leqslant n-1$ such that $a_{i,j}\geqslant n$.
Step 4: $c_i=n$ for each $0\leqslant i\leqslant n-1$ and consequently, $S=n^2$.
Step 5: $a_{0,0}=1$.
Step 6: $a_{0,1}=0$ and $a_{0,i}>0$.
Step 7: $r_1\geqslant 2n-2$.
Step 8: $r_0+(r_2+\cdots + r_{n-1})\geqslant n^2-2n+1$.
Summing the expressions obtained in steps 7 and 8, we get $$n^2=S=r_0+r_1+\cdots r_{n-1}\geqslant n^2-1.$$ Corollary 2: $r_1=2n-1$ or $2n-2$. Corollary 3: Rows $2,3,...,n-1$ do not contain any $3$'s and at most one of the entries of these rows can be $2$. Therefore, $a_{i,j}=0$ for each $i\geqslant 3,j\geqslant 2$ and $a_{2,2}+a_{2,3}+\cdots a_{2,n-1}\leqslant 1$. Corollary 4: By corollary 3, there are at least $n-2$ entries equal to $0$ in row $j$. So $a_{0,j}=n-2$ or $n-1$. Step 9: $n\leqslant 5$.
Note: One can further prove that the only selfish tables are $$\begin{tabular}{ | l | l | l | l | l |} \hline 1 & 0 & 3 & 3 & 4 \\ \hline 1 & 3 & 2 & 1 & 1 \\ \hline 0 & 1 & 0 & 1 & 0 \\ \hline 2 & 1 & 0 & 0 & 0 \\ \hline 1 & 0 & 0 & 0 & 0 \\ \hline \end{tabular} \quad \text{and} \quad \begin{tabular}{ | l | l | l | l | l |} \hline 1 & 0 & 4 & 4 & 3 \\ \hline 1 & 4 & 1 & 1 & 1 \\ \hline 0 & 0 & 0 & 0 & 1 \\ \hline 1 & 0 & 0 & 0 & 0 \\ \hline 2 & 1 & 0 & 0 & 0 \\ \hline \end{tabular}$$