# Thread: Filling the quarter plane with numbers

1. ## Filling the quarter plane with numbers

Can we write $1, \frac12, \frac13, \frac14, ...$ into the lattice points of the quarter plane that the followings are true:
- the sum of the numbers is 2 in each row
- the sum of the numbers is $\infty$ in each column
- there is a number in each cell
- each number is in one and only one cell

Thank you for any help!

2. Originally Posted by zadir
Can we write $1, \frac12, \frac13, \frac14, ...$ into the lattice points of the quarter plane that the followings are true:
- the sum of the numbers is 2 in each row
- the sum of the numbers is $\infty$ in each column
- there is a number in each cell
- each number is in one and only one cell

Thank you for any help!
This problem has been bugging me for a few days, but I now see how to do it. The idea is to fill row n and column n using numbers whose denominators are 2^n times an odd number. Denote this set of numbers by $S_n$, so that $S_n = \{1/(2^n(2k+1)):k\geqslant0\}.$ Notice that the elements of $S_n$ form the terms of a divergent series.

For convenience, labels the rows and the columns with indices starting at 0 rather than 1. So the first row is row 0. Fill that row as follows. Take the reciprocals of all the odd numbers in turn. For each such number, put it in row 0 provided that the sum of all the numbers in that row stays below 2. Row 0 will then look like this:

$1\quad \frac13\quad \frac15\quad \frac17\quad \frac19\quad \frac1{11}\quad \frac1{13}\quad \frac1{23}\quad \frac1{721}\ \ldots$.

Now put all the remaining reciprocals of odd numbers into column 0. That column will then contain the elements

$1\quad \frac1{15}\quad \frac1{17}\quad \frac1{19}\quad \frac1{21}\quad \frac1{25}\ \ldots$.

Next, fill row 1 and column 1 in a similar way, using the set $S_1$ (reciprocals of all the odd multiples of 2). Row 1 already contains the element $\frac1{15}$, so we want the sum of its remaining elements to be $\frac{29}{15}$. Taking each element of $S_1$ in turn, put it in row 1 provided that the sum of all the numbers in that row stays below 2, and put it in column 1 otherwise.

Now proceed inductively. Suppose that rows and columns 0 to n–1 have already been filled, and fill row n and column n as follows. The first n–1 elements of row n will already have been filled. But their sum will be less than 2, because each element in column k (for $0\leqslant k\leqslant n-1$) is in $S_k$ and is therefore less than $2^{-k}$. So take each element of $S_n$ in turn, put it in row n provided that the sum of all the numbers in that row stays below 2, and put it in column n otherwise.

That way, the sum in each row will be 2, the sum in each column will be infinite, and each number of the form 1/n will be used exactly once.