A checkerboard of  $13$ rows and  $17$ columns has a number written in each square, beginning in the upper left corner, so that the first row is numbered $1,2,3,4,...,17$ , the second row $18,19,20...34$, and so on down the board. If the board is renumbered so that the left column, top to bottom, is $1,2,3,....13$ , the second column $14,15,16,17,...26$ and so on across the board, some squares have the same numbers in both numbering systems. Find the sum of the numbers in these squares (under either system).
The answer was 555, with the solution provided below
Index the rows with  $ i=1,2,3,...13$ Index the columns with $ j=1,2,3,4,...17$ For the first row number the cells $1,2,3...17$ For the second, $18,19,20..34$ and so on So the number in row = $i$ and column = $j$ is  $f(i,j) = 17(i-1)+j$ Similarly, numbering the same cells columnwise we find the number in row = $i$ and column = $j$ is $g(i,j)= i+13j-13$ So we need to solve $f(i,j) =g(i,j)$ Which gives $i=(1+3j)/4$      We get the solutions $1, 56, 111, 166,221$ which sums to $555$.    
The question is why would there be $17(i-1)+j $ being equated as follows? Is it necessarily unique? How did the author derived it to find the solutions? And is there another way?
Imagine first that we are number along the rows. What number will we place in the cell in row $i,$ column $j?$ We have already full numbered $i-1$ rows, and since there are $17$ numbers in a row, in these rows we have used the first $17(i-1)$ numbers. In row $i,$ column $1$ we therefore place $17(i-1)+1,$ in row $i,$ column $2$ we place $17(i-1)+2,$ ... and in row $i,$ column $j$ we place $17(i-1)+j$. This explains the formula for $f(i,j),$ and a wholly analogous argument explains the formula for $g(i,j).$
I don't fully understand all of your questions. We equate $f(i,j)$ and $g(i,j)$ because the question asks for the cells where the two numbers are the same. We easily get the solution $$i={3j+1\over4}$$ Since $i$ and $j$ are integers, we need $3j+1$ to be divisible by $4,$ which happens when $j\in\{1,5,9,13,17\}$
Solving for the corresponding $i$ values and plugging into the the formula for $f(i,j)$ (or $g(i,j),$) should give you the five numbers that the author claims, but I haven't checked this.