there is a table which grows as
1,1
1,1,2
1,1,3,3
1,1,4,4,6
1,1,5,5,10,10
1,1,6,6,15,15,20
.....and so on
If i want to find an specific element of the table like if i want to find 4th element of 6th row then the answer will be 6 but if i want to find the nth element of mth row for any n>=1,m>=1 then how to do it?
The $n$-th row contains the binomial coefficients $\binom{n}{0}$, ..., $\binom{n}{n}$, sorted by size. The $k$th element of the $n$th row is therefore given by $$\binom{n}{\lfloor \frac{k-1}{2} \rfloor}.$$