Attachment 23697

It makes more sense now that I thik about it. As x and y increase, the values of the matrix go up accordingly. I attached a picture of what the matrix looks like at each iteration (via color) the center color represents 1, and each iteration outside of it increases by 1 (i.e., black=1, grey = 2, brown = 3, red =4, etc). each value outside of the initial value increases linearly, but I cannot for the life of me figure out how to apply a function like that