Quote (Minkomonster @ Feb 5 2014 11:03pm)
So, the question is how can you represent each cell of the grid?
Given a number n, construct an nxn grid.
Let's say you had 2 variables i and j, such that 1 <= i <= n, and 1 <= j <= n, then (i,j) would be the coordinates of a cell of that nxn grid.
Your job is to represent each cell of the grid in terms of i, j, and n
for instance, if you wanted every cell of this nxn grid to be the sum of the row and the column then
f(i,j) = i + j
What would the function be for the grid described in the picture? Notice on row(i) 1, as the column(j) increases so does the cell's value. almost as if on that row(i) only the column (j) seems to matter. But as the row increases, and the column stays the same, only the row seems to matter.
You said you only wanted guidance, and I don't want to just give you the answer. Let me know if this gets you anywhere.
I appreciate that you went into depth with this but unfortunately this honestly just confused me Im not sure what you were trying to get at
Quote (Azrad @ Feb 5 2014 11:03pm)
well maybe i'm derping it, but every row looks like an arithmetic series
so you could sum a row with:
http://www.regentsprep.org/Regents/math/algtrig/ATP2/ArithG3.gif
Then just sum the sums, unless I'm missing something...
I'm not exactly sure how to use this formula to plug these values into it sadly..