Question 132
Find the least possible value of $n$, such that one can place $1, 2, \ldots, n$ in each cell of an $18 \times 18$ table, such that each number is used at least once, and in each row or column, there exist neither two equal nor two consecutive numbers.